kyrea / anime-facts

πŸ“š Elevate Your Content with Anime Insights! Use our npm package to effortlessly integrate random anime facts into your website, Discord bot, and beyond. 🌟

Home Page:https://www.npmjs.com/package/anime-facts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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\

About

πŸ“š Elevate Your Content with Anime Insights! Use our npm package to effortlessly integrate random anime facts into your website, Discord bot, and beyond. 🌟

https://www.npmjs.com/package/anime-facts

License:GNU Affero General Public License v3.0


Languages

Language:JavaScript 100.0%