Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dofy/emojidb
Generate Emoji data in multiple formats
https://github.com/dofy/emojidb
cli database emoji
Last synced: about 1 month ago
JSON representation
Generate Emoji data in multiple formats
- Host: GitHub
- URL: https://github.com/dofy/emojidb
- Owner: dofy
- License: mit
- Created: 2019-04-09T07:04:00.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-09-26T09:23:34.000Z (3 months ago)
- Last Synced: 2024-11-09T17:43:21.575Z (about 1 month ago)
- Topics: cli, database, emoji
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/@dofy/emojidb
- Size: 504 KB
- Stars: 13
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Emoji Database
Generate Emoji data in multiple formats
## How to use:
```bash
npm install -g @dofy/emojidb
# or
yarn global add @dofy/emojidb# run
emojidb -t json -f yahaha# help
emojidb --help
```## Extend:
- Copy any `dfXXX.ts` under the `lib/formators` folder
- Modify the content in the `output` method, process the content of `data` to return the required format
- Register this `Formator` in `lib/Formator.ts`
- Import the file `import dfXXX from './formators/dfXXX'`
- Add the new format to the `types` array
- The help content and format support will be completed automatically> _Tips:_
>
> Refer to the `data` structure `./templates/template.json` file## Appendix:
- Data source: https://www.unicode.org/Public/emoji