Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
purecatamphetamine committed Nov 18, 2019
1 parent 112d0ba commit 95ae765
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Expand Up @@ -682,6 +682,14 @@ isSupportedCountry('RU') === true
isSupportedCountry('XX') === false
```

### getCountries()

Returns a list of supported countries.

```js
getCountries() === ["AC", "AD", ...]
```

### getCountryCallingCode(country)

Returns [country calling code](#country-calling-code) for a [country](#country-code). Will throw an error if `country` doesn't exist or isn't supported by this library.
Expand Down

0 comments on commit 95ae765

Please sign in to comment.