{"id":21835746,"url":"https://github.com/vtex/i18n-country-code","last_synced_at":"2025-10-18T15:41:57.305Z","repository":{"id":57147498,"uuid":"97608376","full_name":"vtex/i18n-country-code","owner":"vtex","description":"Translations for country codes","archived":false,"fork":false,"pushed_at":"2023-04-12T16:31:51.000Z","size":24,"stargazers_count":1,"open_issues_count":1,"forks_count":4,"subscribers_count":122,"default_branch":"master","last_synced_at":"2025-03-27T22:38:56.616Z","etag":null,"topics":["srv-checkout-ui","xp-shopping"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vtex.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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":"2017-07-18T14:30:25.000Z","updated_at":"2023-04-12T16:31:30.000Z","dependencies_parsed_at":"2024-11-27T20:24:54.961Z","dependency_job_id":"54311893-37c1-441e-9493-6a8dbf116038","html_url":"https://github.com/vtex/i18n-country-code","commit_stats":{"total_commits":7,"total_committers":4,"mean_commits":1.75,"dds":0.5714285714285714,"last_synced_commit":"65bdeeeebe9400f9035410efc00c9e7ec72e4293"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vtex%2Fi18n-country-code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vtex%2Fi18n-country-code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vtex%2Fi18n-country-code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vtex%2Fi18n-country-code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vtex","download_url":"https://codeload.github.com/vtex/i18n-country-code/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248495158,"owners_count":21113578,"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":["srv-checkout-ui","xp-shopping"],"created_at":"2024-11-27T20:24:20.185Z","updated_at":"2025-10-18T15:41:57.220Z","avatar_url":"https://github.com/vtex.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# i18n-country-code\n\n\u003e Translations for country names based on its ISO Alpha 3 country code.\n\n##  Install\n\n```sh\n$ npm install --save i18n-country-code\n```\n\n## Usage\n\n### Node.js\n\n```js\nconst translations = require(\"i18n-country-code/locales/en.json\");\n\nconst countryName = translations[\"USA\"];\n// United States\n```\n\n### Webpack\n\nUse it with dynamic import.\n\n```js\nconst locale = \"en\"\n\nimport(`i18n-country-code/locales/${locale}.json`)\n  .then(translations =\u003e {\n    const countryName = translations[\"USA\"];\n    // United States\n  })\n```\n\n## License\n\nMIT © [VTEX](https://www.vtex.com)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvtex%2Fi18n-country-code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvtex%2Fi18n-country-code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvtex%2Fi18n-country-code/lists"}