Country Name
Simple getter for country names in all languages (backed by a script that dumps data direct from the CLDR).
Install
npm i country-name --save
Usage
; // countryName( 3-LETTER COUNTRY CODE , LANGUAGE SUBTAG ); // United States; // アメリカ合衆国; // Japan; // 日本
Contributing
Pull requests are always welcome.
- Some method of only including a set of langauges rather than ALL of them (maybe package.json based config)
- Remote loading of data (would fair better for websites)