emoji.json
Version:
Just an emoji.json.
38 lines (26 loc) • 1 kB
Markdown
Just an emoji.json.
Generated from [emoji-test.txt](https://unicode.org/Public/emoji/latest/emoji-test.txt) with [this script](scripts/gen.js).
> NOTE: There are no Emoji versions 6.0-10.0 as a decision was made in 2017 to align emoji version numbers with their respective Unicode versions starting with version 11.0.
**install with npm**
`npm install emoji.json` then:
```javascript
var emoji = require('emoji.json')
console.log(emoji[2])
// {
// codes: '1F604',
// char: '😄',
// name: 'grinning face with smiling eyes',
// category: 'Smileys & Emotion'
// }
```
if you care about file size:
```javascript
var emojiCompact = require('emoji.json/emoji-compact.json')
console.log(emojiCompact)
// ["😀","😁","😂","🤣" ...]
```
**fetch from web**
- https://unpkg.com/emoji.json/emoji.json
- https://unpkg.com/emoji.json/emoji-compact.json