@rivkesse/emoji-category-map
v1.0.2
Published
Unicode to category emoji mapping. Based on teh work of Ionică Bizău. <[email protected]> (http://ionicabizau.net)
Downloads
5
Maintainers
Readme
emoji-unicode-map
Unicode to name emoji mapping.
:cloud: Installation
$ npm i --save emoji-unicode-map
:clipboard: Example
const unicode = require("emoji-unicode-map");
console.log(unicode.get("😍"));
// heart_eyes
console.log(unicode.emoji);
// { '💯': '100',
// '🔢': '1234',
// '😀': 'grinning',
// '😬': 'grimacing',
// '😁': 'grin',
// '😂': 'joy',
// ...
// }
:memo: Documentation
get(char)
Gets the emoji name, by providing the character.
Params
- String
char
: The emoji character.
Return
- String The emoji name.
:yum: How to contribute
Have an idea? Found a bug? See how to contribute.