const getter = require('booru-getter')
//Searching by tags
getter.get(1, 0, "brown_hair+-red*", (xml) =>{
//work with XML here.
}
//Retrieving a random image with matching tags
getter.getRandom("blue_hair+red_shirt+-dress*", (err, url)=>{
if(err){
//handle error
}
//do something with URL here
}
A booru that contains NSFW images.
//Searching by tags
getter.getLewd(1, 0, "brown_hair+-red*", (xml) =>{
//work with XML here.
}
//Retrieving a random image with matching tags
getter.getRandomLewd("blue_hair+red_shirt+-dress*", (err,url)=>{
if(err){
//handle error
}
//do something with URL here
}