Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

country-flag-emoji-json

1.0.2 • Public • Published

Country Flag Emoji JSON

Build Status Greenkeeper Latest Version

Country flag emojis in JSON format.

CDN

The JSON files are available over a CDN:

[
  {
    "code": "ID",
    "unicode": "U+1F1EE U+1F1E9",
    "name": "Indonesia",
    "emoji": "🇮🇩"
  },
]
{
  "ID": {
    "code": "ID",
    "unicode": "U+1F1EE U+1F1E9",
    "name": "Indonesia",
    "emoji": "🇮🇩"
  },
}

Generate the JSON

If you want to generate the JSON files by yourself:

1. Clone the Repository

Clone this repository to your local computer:

$ git clone git@github.com:risan/country-flag-emoji-json.git

2. Install the Dependencies

CD into the project directory and install the dependencies:

# Go to the project directory 
cd country-flag-emoji-json
 
# Install the dependencies 
$ npm install

3. Generate the JSON Files

Run the following command to generate the JSON files:

$ npm run build

Related

License

MIT © Risan Bagja Pradana

Emojis data used to generate the JSON files are provided by the Unicode Consortium.

Copyright © 1991-2018 Unicode, Inc. All rights reserved.

By using this package you agree to the Unicode Terms of Use.

Install

npm i country-flag-emoji-json

DownloadsWeekly Downloads

121

Version

1.0.2

License

MIT

Unpacked Size

107 kB

Total Files

7

Last publish

Collaborators

  • avatar