!!! If you are using 1.0.3 or lower, please update the package. !!!
node-animequote
Anime Quote Generator. In node.js. Made from node-yoda-said. Resources from anime-quote-generator.
Before installing, you want to make sure it works, eh? Click Test animequote in your browser. at the right side of the npmjs page, then click Run
. It will run a script and gives you a nice js object callback.
How to use it?
var aq = require('animequote');
console.log("\"" + aq().quotesentence + "\" --- " + aq().quotecharacter + " from " + aq().quoteanime);
Callback example
{
"quotenumber": 1,
"quotesentence": "<Random>",
"quotecharacter": "<Random>",
"quoteanime": "<Random>"
}
In console?
UNTESTED, so if you found a problem here, submit an issue in the GitHub repo.
$ npm install --global animequote
$ animequote
Credit
- node-yoda-said, Copyright (c) Sindre Sorhus sindresorhus@gmail.com (sindresorhus.com).
- anime-quote-generator, Copyright (c) 2015 Chong Jia Sheng.
- Both are in MIT license.
Contribute?
If you want to add a new quote, do it in the original repo and remind me by creating an issue or DM me on Discord (austinhuang#1076).