Skip to content

Commit

Permalink
Update to Emoji 5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
amio committed Jun 27, 2017
1 parent 1dc89e0 commit 3a1bfef
Show file tree
Hide file tree
Showing 5 changed files with 10,881 additions and 13,048 deletions.
20 changes: 7 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Just an emoji.json.

Generated from [full-emoji-list](http://unicode.org/emoji/charts/full-emoji-list.html) with [this script](https://gist.github.com/amio/cad657690e027e80a614f3ba2141397b).
Generated from [full-emoji-list](http://unicode.org/emoji/charts/full-emoji-list.html) with [this script](tools/gen-json.js).

### Usage

Expand All @@ -14,13 +14,10 @@ Generated from [full-emoji-list](http://unicode.org/emoji/charts/full-emoji-list
var emoji = require('emoji.json')
console.log(emoji[2])
// {
// "no": "3",
// "no": 3,
// "code": "1F602",
// "char": "πŸ˜‚",
// "name": "FACE WITH TEARS OF JOY",
// "date": "2010Κ²",
// "default": "emoji",
// "keywords": "face, joy, laugh, tear"
// "name": "FACE WITH TEARS OF JOY"
// }
```

Expand All @@ -29,15 +26,12 @@ if you care about file size:
```javascript
var emojiCompact = require('emoji.json/emoji-compact.json')
console.log(emojiCompact)
// {
// "header": ["default","char","name","keywords"],
// "data": [
// ["emoji","πŸ˜€","GRINNING FACE","face, grin"],
// ["emoji","😁","GRINNING FACE WITH SMILING EYES","eye, face, grin, smile"],
// ["emoji","πŸ˜‚","FACE WITH TEARS OF JOY","face, joy, laugh, tear"],
// [
// ["πŸ˜€","GRINNING FACE"],
// ["😁","GRINNING FACE WITH SMILING EYES"],
// ["πŸ˜‚","FACE WITH TEARS OF JOY"],
// ...
// ]
// }
```

**fetch from web**
Expand Down
Loading

0 comments on commit 3a1bfef

Please sign in to comment.