@dofy/emojidb
v1.5.2
Published
emoji database cli
Readme
Emoji Database
Generate Emoji data in multiple formats
How to use:
npm install -g @dofy/emojidb
# or
yarn global add @dofy/emojidb
# run
emojidb -t json -f yahaha
# help
emojidb --helpExtend:
- Copy any
dfXXX.tsunder thelib/formatorsfolder - Modify the content in the
outputmethod, process the content ofdatato return the required format - Register this
Formatorinlib/Formator.ts- Import the file
import dfXXX from './formators/dfXXX' - Add the new format to the
typesarray
- Import the file
- The help content and format support will be completed automatically
Tips:
Refer to the
datastructure./templates/template.jsonfile
Appendix:
- Data source: https://www.unicode.org/Public/emoji
