Package Exports
- emoji-name-map
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (emoji-name-map) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
emoji-name-map
Name to unicode emoji mapping.
☁️ Installation
$ npm i --save emoji-name-map📋 Example
const name = require("emoji-name-map");
console.log(name.get("heart_eyes"));
// 😍
console.log(name.get("😍"));
// 😍
console.log(name.emoji);
// {
// '100': '💯',
// '1234': '🔢',
// grinning: '😀',
// grimacing: '😬',
// grin: '😁',
// joy: '😂',
// smiley: '😃',
// smile: '😄',
// sweat_smile: '😅',
// laughing: '😆',
// innocent: '😇',
// ...
// }📝 Documentation
get(name)
Gets the emoji character (unicode) by providing the name.
Params
- String
name: The emoji name.
Return
- String The emoji character (unicode).
😋 How to contribute
Have an idea? Found a bug? See how to contribute.
💰 Donations
Another way to support the development of my open-source modules is to set up a recurring donation, via Patreon. 🚀
PayPal donations are appreciated too! Each dollar helps.
Thanks! ❤️