emoji-type
v1.0.4
Published
This is literally just a package with a type for every recent emoji.
Downloads
604
Readme
emoji-type
This is literally just a TypeScript package with a type for every recent emoji.
Installation
NPM
$ npm install --save emoji-type
Yarn
$ yarn add emoji-type
Usage
With require
const {Emoji} = require('emoji-type');
With ES6 import
import {Emoji} from 'emoji-type';
Usage
import {Emoji} from 'emoji-type';
const icon: Emoji = "🐕";
Related
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.
License
MIT © Anthony Yang