docs: update readme

This commit is contained in:
Nolan Lawson 2020-11-06 10:05:53 -08:00
parent 8110ceb0d7
commit 4746a4f1d2
1 changed files with 8 additions and 5 deletions

View File

@ -1,12 +1,15 @@
emoji-picker-element-data
======
Uses [emojibase-data](https://www.npmjs.com/package/emojibase-data) to build JSON files designed for [emoji-picker-element](https://npmjs.com/package/emoji-picker-element).
Uses [emojibase-data](https://www.npmjs.com/package/emojibase-data) to build JSON files designed for [emoji-picker-element](https://npmjs.com/package/emoji-picker-element). To browse the files, [use jsdelivr](https://www.jsdelivr.com/package/npm/emoji-picker-element-data).
The goal is to stitch together shortcode files and general emoji data files into a single file format. Incidentally,
this provides a file format more like `emojibase-data` v5 than v6, when the shortcode and non-shortcode data were split
into separate files.
Each file contains both language-specific emoji data and shortcode-specific data. For instance:
To browse the files, [use jsdelivr](https://www.jsdelivr.com/package/npm/emoji-picker-element-data).
- `en/emojibase/data.json`: English data, Emojibase shortcodes
- `en/joypixels/data.json`: English data, JoyPixels shortcodes
- `fr/cldr/data.json`: French data, CLDR shortcodes
The goal is to stitch together shortcode files and emoji files into a single, optimized file format. Incidentally,
this provides a file format more like `emojibase-data` v5 than v6.
For more details, see [this issue](https://github.com/nolanlawson/emoji-picker-element/issues/47).