waifu.it
TypeScript icon, indicating that this package has built-in type declarations

1.2.1 • Public • Published

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.

Package Sidebar

Install

npm i waifu.it

Weekly Downloads

15

Version

1.2.1

License

AGPL-3.0

Unpacked Size

42.6 kB

Total Files

5

Last publish

Collaborators

  • aeryk