npm.io
2.0.3 β€’ Published 1 year ago

emoji-name-map

Licence
MIT
Version
2.0.3
Deps
0
Size
47 kB
Vulns
0
Weekly
0
Stars
37

emoji-name-map

Support me on Patreon Buy me a book PayPal Ask me anything Version Downloads Get help on Codementor

Buy Me A Coffee

Name to unicode emoji mapping.

Installation

# Using npm
npm install --save emoji-name-map

# Using yarn
yarn add emoji-name-map

Example

const name = require("emoji-name-map");

console.log(name.get("heart_eyes"));
// 😍

console.log(name.get(":heart_eyes:"));
// 😍

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).

Get Help

There are few ways to get help:

  1. Please post questions on Stack Overflow. You can open issues with questions, as long you add a link to your Stack Overflow question.
  2. For bug reports and feature requests, open issues.
  3. For direct and quick help, you can use Codementor.

How to contribute

Have an idea? Found a bug? See how to contribute.

Support my projects

I open-source almost everything I can, and I try to reply to everyone needing help using these projects. Obviously, this takes time. You can integrate and use these projects in your applications for free! You can even change the source code and redistribute (even resell it).

However, if you get some profit from this or just want to encourage me to continue creating stuff, there are few ways you can do it:

  • Starring and sharing the projects you like

  • Buy me a bookβ€”I love books! I will remember you after years if you buy me one.

  • PayPalβ€”You can make one-time donations via PayPal. I'll probably buy a coffee tea.

  • Support me on Patreonβ€”Set up a recurring monthly donation and you will get interesting news about what I'm doing (things that I don't share with everyone).

  • Bitcoinβ€”You can send me bitcoins at this address (or scanning the code below): 1P9BRsmazNQcuyTxEqveUsnf5CERdq35V6

Thanks!

Where is this library used?

If you are using this library in one of your projects, add it in this list.

  • @onereach/channel-transformers
  • @onereach/content-builder
  • @rivkesse/emoji-category-map
  • @rivkesse/emoji-dictionary
  • @walrus/commitlint-plugin-emoji
  • @zo-bro-23/github-readme-stats-test
  • discord-ticket-portal
  • emoji-dictionary
  • emoji-favicon-webpack-plugin
  • emoji-names
  • emoji-unicode-map
  • layers.js
  • layers.p5
  • midifungi
  • pixel-profile
  • vue-notification-system

License

MIT Ionică Bizău

Keywords