JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q89551F
  • License MIT

Emoji data extracted from Unicode Technical Report #51 v1.0 and v2.0

Package Exports

  • unicode-tr51-emoji

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (unicode-tr51-emoji) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

unicode-tr51-emoji

Build Status NPM Version License

This package enables an easy way of getting the list of all emoji symbols (in string or code point format) in your JavaScript build scripts. It is inspired by (and API compatible) with Mathias Bynens's unicode-tr51.

Installation

Via npm:

npm install unicode-tr51-emoji

In Node.js:

var codepoints = require('unicode-tr51-emoji/code-points');
var symbols = require('unicode-tr51-emoji/symbols');

By default it returns the latest version (v2.0), you can access particular versions directly using:

// v1.0 (http://www.unicode.org/Public/emoji/1.0/emoji-data.txt)
var codepoints = require('unicode-tr51-emoji/v1.0/code-points');
var symbols = require('unicode-tr51-emoji/v1.0/symbols');

// v2.0 (http://www.unicode.org/Public/emoji/2.0/emoji-data.txt)
var codepoints = require('unicode-tr51-emoji/v2.0/code-points');
var symbols = require('unicode-tr51-emoji/v2.0/symbols');