1.0.2 • Published 8 years ago

@rivkesse/emoji-category-map v1.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

emoji-unicode-map

PayPal AMA Version Downloads Get help on Codementor

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.

:scroll: License

MIT © Ionică Bizău