emoji-type

1.0.4 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i emoji-type

Weekly Downloads

168

Version

1.0.4

License

ISC

Unpacked Size

38.9 kB

Total Files

3

Last publish

Collaborators

  • ayang4114