/emoji-data-ts

Utilities for emoji data in TypeScript

Primary LanguageTypeScriptMIT LicenseMIT

Emoji data helper written in TypeScript

This project is helper functions for emoji-data

Usage

npm install -save emoji-data-ts
const emoji = new EmojiData()
emoji.getImageData("smile") 
=> {imageUrl: "1f34a.png", sheetSizeX: 5200, sheetSizeY: 5200, x: 13.72549019607843, y: 23.52941176470588}

Example is here

Upgrade npm module

You should add the dist files which you make it build in local.

yarn build

How to release

git tag -a vx.x.x
git push origin tags/vx.x.x
npm publish ./

How to update example

yarn deploy-example