This is literally just a TypeScript package with a type for every recent emoji.
$ npm install --save emoji-type
$ yarn add emoji-type
const {Emoji} = require('emoji-type');
import {Emoji} from 'emoji-type';
import {Emoji} from 'emoji-type';
const icon: Emoji = "๐";
You can find other packages which provide Emoji values and utility functions.
- emojis-list - Complete list of standard Unicode Hex Character Code that represent emojis.
- emojis-unicode โ Complete list of standard Unicode codes that represent emojis.
- emojis-keywords โ Complete list of am emoji shortcuts.
- is-emoji-keyword โ Check if a word is a emoji shortcut.
- is-standard-emoji โ Simply way to check if a emoji is a standard emoji.
- trim-emoji โ Deletes ':' from the begin and the end of an emoji shortcut.
MIT ยฉ Anthony Yang