This package has been deprecated

Author message:

No longer maintained. Please seek other solutions.

animequote

1.1.1 • Public • Published

!!! If you are using 1.0.3 or lower, please update the package. !!!

node-animequote

npm downloads npm version License

NPM

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@1.1.1'); // @1.1.1 is mandatory, but recommended if you have ever installed older version of the package.
console.log("\"" + aq().quotesentence + "\" --- " + aq().quotecharacter + " from " + aq().quoteanime);

Output example

{
    "quotenumber": 1,
    "quotesentence": "<Random>",
    "quotecharacter": "<Random>",
    "quoteanime": "<Random>"
}

For 1.0.x, it has a different output, which includes some pre-inserted characters (1 slash, 1 comma and 2 spaces). That’s why I suggest some of you to add @1.1.1 in the script and update the package.

{
    "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

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).

Contact

Discord

Package Sidebar

Install

npm i animequote

Weekly Downloads

195

Version

1.1.1

License

MIT

Last publish

Collaborators

  • austinhuang