Create an image from a booru
The raw data from the Booru
The booru that created the image
If this post is available (ie. not deleted, not banned, has file url)
The Booru it came from
Optional
createdThe Date this post was created at
Private
dataAll the data given by the booru
The direct link to the file
The height of the file
The id of this post
The height of the smallest image (if available)
The url to the smallest image (if available)
The width of the smallest image (if available)
The rating of the image, as just the first letter (s/q/e/u) => safe/questionable/explicit/unrated
The height of the medium-sized image (if available)
The url to the medium-sized image (if available)
The width of the medium-sized image (if available)
The score of this post
Optional
sourceThe source of this post, if available
The tags of this post
The width of the file
The aspect ratio of this post: width / height
The formatted created time of this post
The original file download name of this post
The original file download text of this post
The file extension of this post
The file size url of this post
The original image file size of this post
Is this post explicit
Is this post questionable
Is this post safe
The jpeg download name of this post
The jpeg download text of this post
The jpeg height url of this post
The jpeg size url of this post
The jpeg image file size of this post
The jpeg url of this post
The jpeg width url of this post
Get the post view (url to the post) of this image
const e9 = Booru('e9')
const imgs = e9.search(['cat', 'dog'])
// Log the post url of the first image
console.log(imgs[0].postView)
The sample download name of this post
The sample download text of this post
The sample size url of this post
The sample image file size of this post
An image from a booru with a few common props
Example