1.1.1 • Published 10 years ago

animequote v1.1.1

Weekly downloads
978
License
MIT
Repository
github
Last release
10 years ago

!!! 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

1.1.1

10 years ago

1.1.0

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago