i18n-country-code
Translations for country names based on its ISO Alpha 3 country code.
Install
$ npm install --save i18n-country-code
Usage
Node.js
const translations = ; const countryName = translations"USA";// United States
Webpack
Use it with dynamic import.
const locale = "en" import`i18n-country-code/locales/.json`
License
MIT © VTEX