0.0.4 • Published 4 years ago
@zoovi/emoji v0.0.4
Zoovi Emoji
Toolkit of emoji-related features created for chat applications.
How to run the repo?
- Install dependencies with
yarn install. - Generate
emoji.jsonfile usingyarn generate. - Run tests (
yarn test) and/or performance check (yarn perf).
How to link local repo to my project?
- Run
yarn buildto create a JavaScript build of the emoji service. - Run
yarn linkto allow symlinking of the package. - Go to the project you want to use this library in and run
yarn link @zoovi/emoji.
How to use the package?
- Import the service using
import emoji from '@zoovi/emoji'; - Run
await emoji.initialize();to initialize all service features (download minified emoji.json file). - Use any of the service features listed below.
Features
Implemented
- Dynamic import of the emoji data (
emoji.initialize()). - Parsing emoji symbols into emoji (
emoji.parseText(':D') -> 😄). - Parsing emoji short names into emoji (
emoji.parseText(':smile:') -> 😄).
Planned
- Emoji search feature.
- Skin tone customization.
- Accessing specified emoji data.