Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwittig committed Mar 9, 2020
1 parent 31ceead commit 9c95848
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# i18n-iso-countries

> Version 4 drops support for node 4 and 5!
> Version 5 drops support for node 6 and 7!
i18n for ISO 3166-1 country codes. We support Alpha-2, Alpha-3 and Numeric codes from <http://en.wikipedia.org/wiki/ISO_3166-1#Officially_assigned_code_elements>

Expand Down Expand Up @@ -198,7 +198,7 @@ console.log(countries.getNumericCodes());
```javascript
var countries = require("i18n-iso-countries");
// in a browser environment: countries.registerLocale(require("i18n-iso-countries/langs/en.json"));
console.log(countries.isValid("US"), countries.isValid("USA"), countries.isValid("XX")));
console.log(countries.isValid("US"), countries.isValid("USA"), countries.isValid("XX"));
// true, true, false
```

Expand Down

0 comments on commit 9c95848

Please sign in to comment.