All Projects → risan → country-flag-emoji-json

risan / country-flag-emoji-json

Licence: CC-BY-SA-4.0 license
Country flag emojis in JSON format.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to country-flag-emoji-json

Qpdialcodepickerview
International Dial Code Picker View for Country or Area 国家或地区国际区号选择器
Stars: ✭ 15 (-83.7%)
Mutual labels:  emoji, country
country-emoji
Converts between country names, ISO 3166-1 codes and flag emojis.
Stars: ✭ 81 (-11.96%)
Mutual labels:  emoji, flag
Country
Country gives a list of countries with all their flags.
Stars: ✭ 26 (-71.74%)
Mutual labels:  country, flag
emojifont
🍭Emoji and fontawesom in both base and ggplot2 graphics
Stars: ✭ 61 (-33.7%)
Mutual labels:  emoji
hashflags-function
⚡ A collection of Azure functions related to Twitter hashflags
Stars: ✭ 15 (-83.7%)
Mutual labels:  emoji
flag
专为命令行爱好者设计,方便写出类似于git或者coreutils中的命令接口(ls, mv, cat),新用户建议使用https://github.com/guonaihong/clop
Stars: ✭ 48 (-47.83%)
Mutual labels:  flag
type-flag
⛳️ Typed command-line arguments parser for Node.js
Stars: ✭ 105 (+14.13%)
Mutual labels:  flag
emoji-to-scale
Your favorite emojis. To scale.
Stars: ✭ 334 (+263.04%)
Mutual labels:  emoji
slack-emoji-upload
Slack emoji uploader, CLI. single binary, no dependencies. linux, osx, windows.
Stars: ✭ 28 (-69.57%)
Mutual labels:  emoji
emoji-db
A database of Apple-supported emojis in JSON format. Used by my Alfred emoji workflow.
Stars: ✭ 32 (-65.22%)
Mutual labels:  emoji
emoji-helper-php
去除过滤emoji表情、判断是否包含emoji表情,输出emoji表情的16进制字符串,对于没有使用utf8mb4编码数据库的项目,这个必不可少
Stars: ✭ 29 (-68.48%)
Mutual labels:  emoji
EmojiConverter
Android Library for EditText
Stars: ✭ 35 (-61.96%)
Mutual labels:  emoji
geoip-native-lite
Super-fast IP to country lookups for node.js with minimal RAM usage.
Stars: ✭ 15 (-83.7%)
Mutual labels:  country
react-select-country-list
This is the country list data format for react-select
Stars: ✭ 40 (-56.52%)
Mutual labels:  country
KeyboardKitPro
KeyboardKit Pro extends KeyboardKit with pro features.
Stars: ✭ 42 (-54.35%)
Mutual labels:  emoji
EmojiPicker
This library to show a popover to select emoji for iOS
Stars: ✭ 58 (-36.96%)
Mutual labels:  emoji
Spotify-Telegram-Bio-Updater
Spotify Telegram Bio Updater Heroku Integration
Stars: ✭ 26 (-71.74%)
Mutual labels:  emoji
FacebookChatStatistics
Statistics of any Facebook Messenger conversation
Stars: ✭ 49 (-46.74%)
Mutual labels:  emoji
EmojiText
This is a EmojiText solution for Unity3D UI
Stars: ✭ 74 (-19.57%)
Mutual labels:  emoji
winmoji
Emoji lookup for Windows 😉 https://www.winmoji.com https://twitter.com/winmoji
Stars: ✭ 79 (-14.13%)
Mutual labels:  emoji

Country Flag Emoji JSON

Latest Version

Country flag emojis in JSON format and SVG image.

CDN

Check out the /dist directory to see all available JSON files and SVG images. All These files are also available through JSDELIVR CDN.

List of Country Flag Emojis

You can use the following URL to get a list of all country flag emojis:

[
  {
    "name": "Ascension Island",
    "code": "AC",
    "emoji": "🇦🇨",
    "unicode": "U+1F1E6 U+1F1E8",
    "image": "https://cdn.jsdelivr.net/npm/[email protected]/dist/images/AC.svg"
  },
  // More items...
  {
    "name": "Indonesia",
    "code": "ID",
    "emoji": "🇮🇩",
    "unicode": "U+1F1EE U+1F1E9",
    "image": "https://cdn.jsdelivr.net/npm/[email protected]/dist/images/ID.svg"
  },
  // More items...
]
  • name: The country name
  • code: The country code based on ISO 3166-1 alpha-2
  • emoji: The country flag emoji
  • unicode: The unicode code points for presenting the emoji flag
  • image: The country flag SVG image url

List of Country Flag Emojis by Country Code

If you prefer the list to be keyed by the country code, use the following URL:

{
  "AC": {
    "name": "Ascension Island", 
    "emoji": "🇦🇨", 
    "unicode": "U+1F1E6 U+1F1E8", 
    "image": "https://cdn.jsdelivr.net/npm/[email protected]/dist/images/AC.svg"
  },
  // More items...
  "ID": {
    "name": "Indonesia",
    "emoji": "🇮🇩",
    "unicode": "U+1F1EE U+1F1E9",
    "image": "https://cdn.jsdelivr.net/npm/[email protected]/dist/images/ID.svg"
  },
  // More items...
}

Country Code for Subdivision Flags

As of 2021, there are three subdivision flags included: England, Scotland, and Wales. These countries are not listed on ISO 3166-1 alpha-2, thus three of them listed with a non-standard code field:

[
  // More items...
  {
    "name": "England",
    "code": "ENGLAND",
    "emoji": "🏴󠁧󠁢󠁥󠁮󠁧󠁿",
    "unicode": "U+1F3F4 U+E0067 U+E0062 U+E0065 U+E006E U+E0067 U+E007F",
    "image": "https://cdn.jsdelivr.net/npm/[email protected]/dist/images/ENGLAND.svg"
  },
  {
    "name": "Scotland",
    "code": "SCOTLAND",
    "emoji": "🏴󠁧󠁢󠁳󠁣󠁴󠁿",
    "unicode": "U+1F3F4 U+E0067 U+E0062 U+E0073 U+E0063 U+E0074 U+E007F",
    "image": "https://cdn.jsdelivr.net/npm/[email protected]/dist/images/SCOTLAND.svg"
  },
  {
    "name": "Wales",
    "code": "WALES",
    "emoji": "🏴󠁧󠁢󠁷󠁬󠁳󠁿",
    "unicode": "U+1F3F4 U+E0067 U+E0062 U+E0077 U+E006C U+E0073 U+E007F",
    "image": "https://cdn.jsdelivr.net/npm/[email protected]/dist/images/WALES.svg"
  }
]

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 [email protected]: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

Data Source

  • Emojis data used to generate the JSON files are provided by the Unicode Consortium.
  • All country flag SVG images are designed by OpenMoji – the open-source emoji and icon project. License: CC BY-SA 4.0

License

CC-BY-SA 4.0 · Risan Bagja Pradana

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].