Skip to content

( ͡° ͜ʖ ͡°) simple kaomoji support for node.js projects

License

Notifications You must be signed in to change notification settings

omnidan/node-kaomoji

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-kaomoji Build Status Code Climate

simple kaomoji support for node.js projects

node-kaomoji example

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 = require('node-kaomoji');
console.log(kaomoji.angry[0]); // returns the first angry kaomoji
console.log(kaomoji.lenny[3]); // returns the third lenny kaomoji

Categories

var kaomoji = require('node-kaomoji');
console.log(kaomoji.angry);
console.log(kaomoji.bears);
console.log(kaomoji.birds);
console.log(kaomoji.cats);
console.log(kaomoji.lenny);
console.log(kaomoji.dongers);

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!

About

( ͡° ͜ʖ ͡°) simple kaomoji support for node.js projects

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published