Unicode to name emoji mapping.
$ npm i --save emoji-unicode-mapconst unicode = require("emoji-unicode-map");
console.log(unicode.get("😍"));
// heart_eyes
console.log(unicode.emoji);
// { '💯': '100',
// '🔢': '1234',
// '😀': 'grinning',
// '😬': 'grimacing',
// '😁': 'grin',
// '😂': 'joy',
// ...
// }Gets the emoji name, by providing the character.
- String
char: The emoji character.
- String The emoji name.
Have an idea? Found a bug? See how to contribute.