Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 1.46 KB

README.md

File metadata and controls

49 lines (33 loc) · 1.46 KB

Generate random anime facts 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 anime-facts

YARN

$ yarn add anime-facts

Usage:

const AnimeFact = require("anime-facts");
const api = new AnimeFact("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.

Credits

@LamkasDev for adding facts to prior database
@xMercyTheDeveloper for adding a fact to prior database
@Lioness100 for adding types and improving codes in version 2.2.6\