Skip to content

kyrea/waifu.it

Repository files navigation

Generate random stuff with a huge database.

Powered by Waifu.it

Need support? Click here

First make sure you have a Waifu.it API Token. Join this discord server to get one.

Installation:

NPM

$ npm install waifu.it

YARN

$ yarn add waifu.it

Usage:

const Client = require("waifu.it");
const api = new Client("YOUR TOKEN");

api.getFact().then((res) => console.log(res));

// Returns with:
{
  id: 5,
  fact: 'TEZUKA Osamu is the most famous manga artist in Japan.',
}

Functions

Functions Description
getFact Generate random anime facts.
getWaifu Generate random anime waifu.
getQuote Generate anime quote.