waifu-dot-pics
v1.0.0
Published
Async API wrapper for waifu.pics
Downloads
9
Readme
waifu-dot-pics
Async API wrapper for Waifu.pics
Usage
const waifuPics = require("waifu-dot-pics").default
// Or using import
import waifuPics from "waifu-dot-pics";
// Returns one dance gif
await waifuPics("dance");
// Returns many gifs in a string array
await waifuPics("dance", { many: true });
await waifuPics("dance", { many: true, exclude: ["https://i.waifu.pics/wjdjwdw.jpg"] });
// Returns a nsfw gif
await waifuPics("waifu", { nsfw: true });
// Returns many nsfw gifs in a string array
await waifuPics("waifu", { nsfw: true, many: true });
await waifuPics("waifu", { nsfw: true, many: true, exclude: ["https://i.waifu.pics/wjdjwdw.jpg"] });