Waifu.im API Client for JavaScript.
Currently up to date as of API v6.
fetch()
$ npm install waifuim
import { WaifuClient } from 'waifuim';
const token = 'API TOKEN';
const client = new WaifuClient({ token });
const images = await client.search({
included_tags: ['waifu']
});
console.log(images);
Browse the complete API documentation here