1.0.0 • Published 4 years ago
waifu.js v1.0.0
Official minimal JavaScript wrapper for waifu.pics. Refer to the docs for available endpoints currently in the API
Installation
npm i -s waifu.js
Example
const client = require('waifu.js')
let api = new client()
async function hello() {
console.log(await api.sfw.waifu());
}
hello()
This returns an image URL as such:
https://i.waifu.pics/P817hp4.jpg
1.0.0
4 years ago