anime-facts
TypeScript icon, indicating that this package has built-in type declarations

6.3.14 • Public • Published

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\

Package Sidebar

Install

npm i anime-facts

Weekly Downloads

28

Version

6.3.14

License

AGPLv3

Unpacked Size

39.1 kB

Total Files

5

Last publish

Collaborators

  • aeryk