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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.4
    194
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.4
    194
  • 1.0.3
    0
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i emoji-type

Weekly Downloads

194

Version

1.0.4

License

ISC

Unpacked Size

38.9 kB

Total Files

3

Last publish

Collaborators

  • ayang4114