Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amio/emoji.json
Just an emoji.json
https://github.com/amio/emoji.json
emoji json
Last synced: about 2 months ago
JSON representation
Just an emoji.json
- Host: GitHub
- URL: https://github.com/amio/emoji.json
- Owner: amio
- Created: 2016-06-22T11:10:27.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-01-04T17:14:56.000Z (9 months ago)
- Last Synced: 2024-07-25T17:15:17.968Z (about 2 months ago)
- Topics: emoji, json
- Language: JavaScript
- Size: 665 KB
- Stars: 289
- Watchers: 6
- Forks: 150
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# emoji.json [![npm](https://img.shields.io/npm/v/emoji.json.svg?style=flat-square)](https://www.npmjs.com/package/emoji.json)
Just an emoji.json.
Generated from [emoji-test.txt](https://unicode.org/Public/emoji/15.1/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.
### Usage
**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