simple kaomoji support for node.js projects
Installation
To install node-kaomoji
, you need node.js and npm.
Once you have that set-up, just run npm install --save node-kaomoji
in your project directory. 🚢
You're now ready to use kaomoji in your node projects! Awesome!
Usage
var kaomoji = ;console; // returns the first angry kaomojiconsole; // returns the third lenny kaomoji
Categories
var kaomoji = ;console;console;console;console;console;console;
Adding new kaomoji
Kaomoji come from japaneseemoticons.net (Thanks a lot).
To update the list or add custom kaomoji, clone this repository and put them into lib/kaomoji.html
. (Or download another page from the website)
Then run npm run-script kaomojiparse
in the project directory or node kaomojiparse
in the lib directory.
This should generate the new kaomoji.json file and output Done.
.
That's all, you now have more kaomoji you can use!