The credentials to use for this booru
The domain of the booru
The site object representing this booru
The internal & common searching logic, pls dont use this use .search instead
The tags to search with
Parse the response from the booru
The response of the booru
The results of this search
Gets the url you'd see in your browser from a post id for this booru
The id to get the postView for
The url to the post
Search for images on this booru
The tag(s) to search for
The results as an array of Posts
Generated using TypeDoc
A basic, JSON booru
const Booru = require('booru') // Aliases are supported const e9 = Booru('e9') // You can then search the site const imgs = await e9.search(['cat', 'cute'], {limit: 3}) // And use the images imgs.forEach(i => console.log(i.fileUrl)) // Or access other methods on the Booru e9.postView(imgs[0].id)