Generate a list of the country names list in the selected language.
$ npm install country-names-list --save
getLanguages(stringFormat)
/* stringFormat is an option value. utf8 by default */
Supported languages are:
- en: English
- be: Belarusian
- ca: Catalan
- cs: Czech
- da: Danish
- de: German
- el: Greek
- es: Spanish
- et: Estonian
- fi: Finnish
- fr: French
- hu: Hungarian
- it: Italian
- lt: Lithuanian
- lv: Latvian
- mk: Macedonian
- nl: Dutch
- no: Norwegian
- pt: Portuguese
- ru: Russian
- sk: Slovak
- sl: Slovenian
- sq: Albanian
- sv: Swedish
- tr: Turkish
- uk: Ukrainian
const countries = require('country-names-list')
countries.getLanguages()
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
This project is licensed under the MIT License - see the LICENSE.md file for details.
- I have translated the names thanks to https://tech.yandex.com/translate