Skip to content

Commit

Permalink
cleanup and prepare release
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwittig committed Aug 29, 2017
1 parent 5918971 commit 54bb2be
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 32 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ node_js:
- "4"
- "5"
- "6"
- "7"
- "8"
50 changes: 26 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,34 +24,36 @@ var countries = require("i18n-iso-countries");
console.log(countries.getNames("en")); // { 'AF': 'Afghanistan', 'AL': 'Albania', [...], 'ZM': 'Zambia', 'ZW': 'Zimbabwe' }
`````

### Supported languages

* `ar`: arabic
* `cs`: czech
* `da`: danish
* `de`: german
* `en`: english
* `es`: spanish
* `et`: estonian
* `fi`: finnish
* `fr`: french
* `gr`: greek
* `he`: hebrew
* `hu`: hungarian
* `it`: italian
* `ja`: japanese
* `ko`: korean
### Supported languages (ISO 639-1)

* `ar`: Arabic
* `cs`: Czech
* `da`: Danish
* `de`: German
* `en`: English
* `es`: Spanish
* `et`: Estonian
* `fi`: Finnish
* `fr`: French
* `el`: Greek
* `he`: Hebrew
* `hu`: Hungarian
* `it`: Italian
* `ja`: Japanese
* `ko`: Korean
* `nb`: Norwegian Bokmål
* `nl`: dutch
* `nl`: Dutch
* `nn`: Norwegian Nynorsk
* `pl`: polish
* `pt`: portuguese
* `ru`: russian
* `se`: swedish
* `tr`: turkish
* `uk`: ukrainian
* `pl`: Polish
* `pt`: Portuguese
* `ru`: Russian
* `sv`: Swedish
* `tr`: Turkish
* `uk`: Ukrainian
* `zh`: Chinese

[List of ISO 639-1 codes](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes)

### Country to Code

`````javascript
Expand Down
15 changes: 7 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "i18n-iso-countries",
"version": "1.16.1",
"version": "2.0.0",
"description": "i18n for ISO 3166-1 country codes",
"typings": "index.d.js",
"keywords": [
Expand Down Expand Up @@ -33,7 +33,6 @@
"nb",
"nl",
"nn",
"no",
"pl",
"pt",
"ru",
Expand Down Expand Up @@ -62,15 +61,15 @@
"url": "https://github.com/michaelwittig/node-i18n-iso-countries.git"
},
"dependencies": {
"pad": "1.0.0"
"pad": "1.1.0"
},
"devDependencies": {
"assert-plus": "0.2.0",
"mocha": "2.3.4",
"jshint": "2.8.0",
"madge": "0.5.3",
"assert-plus": "1.0.0",
"mocha": "3.5.0",
"jshint": "2.9.5",
"madge": "2.1.0",
"npmedge": "0.2.2",
"istanbul": "0.4.1"
"istanbul": "0.4.5"
},
"main": "index",
"engines": {
Expand Down

0 comments on commit 54bb2be

Please sign in to comment.