emoji-dictionary
Convert emoji names in unicode characters and vice versa.
:cloud: Installation
$ npm i --save emoji-dictionary
:clipboard: Example
const emoji = require("emoji-dictionary");
console.log(emoji.getName("😍"));
console.log(emoji.getUnicode("heart_eyes"));
console.log(emoji.unicode);
console.log(emoji.names);
:memo: Documentation
getName(unicodeChar)
Gets the name of the unicode emoji.
Params
- String
unicodeChar
: The emoji unicode character.
Return
getUnicode(name)
Gets the unicode character by providing the emoji name.
Params
- String
name
: The emoji name.
Return
- String The emoji unicode character.
:yum: How to contribute
Have an idea? Found a bug? See how to contribute.
:moneybag: Donations
Another way to support the development of my open-source modules is
to set up a recurring donation, via Patreon. :rocket:
PayPal donations are appreciated too! Each dollar helps.
Thanks! :heart:
:scroll: License
MIT © Ionică Bizău