emoji-unicode-map
Unicode to name emoji mapping.
βοΈ Installation
$ npm i --save emoji-unicode-map
π Example
const unicode = require("emoji-unicode-map");
console.log(unicode.get("π"));
// heart_eyes
console.log(unicode.emoji);
// { 'π―': '100',
// 'π’': '1234',
// 'π': 'grinning',
// 'π¬': 'grimacing',
// 'π': 'grin',
// 'π': 'joy',
// ...
// }
π Documentation
get(char)
Gets the emoji name, by providing the character.
Params
- String
char
: The emoji character.
Return
- String The emoji name.
π How to contribute
Have an idea? Found a bug? See how to contribute.