{"id":17676029,"url":"https://github.com/fa7ad/emoji-country-code","last_synced_at":"2025-05-07T02:03:09.189Z","repository":{"id":49562857,"uuid":"216247224","full_name":"fa7ad/emoji-country-code","owner":"fa7ad","description":"Transform ISO country codes to Emoji flags","archived":false,"fork":false,"pushed_at":"2024-09-25T12:10:22.000Z","size":1610,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-19T20:56:08.531Z","etag":null,"topics":["code","country","emoji","flag","iso-3166-1","pure-javascript"],"latest_commit_sha":null,"homepage":"https://npm.im/emoji-country-code","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fa7ad.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-19T17:48:43.000Z","updated_at":"2024-09-25T12:10:19.000Z","dependencies_parsed_at":"2022-09-04T07:01:31.342Z","dependency_job_id":"58cadb5d-29f4-4637-8a6e-16d80a4b9210","html_url":"https://github.com/fa7ad/emoji-country-code","commit_stats":{"total_commits":45,"total_committers":3,"mean_commits":15.0,"dds":0.5111111111111111,"last_synced_commit":"cbc0032ac51784c3625a565a09072099769a3c26"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fa7ad%2Femoji-country-code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fa7ad%2Femoji-country-code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fa7ad%2Femoji-country-code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fa7ad%2Femoji-country-code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fa7ad","download_url":"https://codeload.github.com/fa7ad/emoji-country-code/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252352338,"owners_count":21734149,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["code","country","emoji","flag","iso-3166-1","pure-javascript"],"created_at":"2024-10-24T07:24:13.423Z","updated_at":"2025-05-07T02:03:09.115Z","avatar_url":"https://github.com/fa7ad.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# emoji-country-code\nTransform ISO 3166-1 country codes to Emoji flags\n\n## Installation\n\nInstallation is the same as any other npm module.\n```bash\nyarn add emoji-country-code\n```\n\nor\n\n```bash\nnpm install --save emoji-country-code\n```\n\n## Usage\n\nIn an ES6+ environment you can either import the named export\n```js\nimport { fromCountryCode } from 'emoji-country-code'\n```\n\nor use the default export\n```js\nimport flagEmoji from 'emoji-country-code'\n```\n\nCommonJS and UMD builds are available as well.\n\n## API\n\nTo transform a country code like `BD` to `🇧🇩`, just call the `fromCountryCode` function\n```js\nconst flag = flagEmoji.fromCountryCode('BD') //=\u003e 🇧🇩\n```\n\nThat's about it! Use it however you like 🚀\n\n---\nThis project follows  \n[![JavaScript Style Guide](https://cdn.rawgit.com/standard/standard/master/badge.svg)](https://github.com/standard/standard)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffa7ad%2Femoji-country-code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffa7ad%2Femoji-country-code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffa7ad%2Femoji-country-code/lists"}