1.0.2 • Published 8 years ago
@rivkesse/emoji-category-map v1.0.2
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.