country-locale-map
Advanced tools
Comparing version 1.4.0 to 1.4.1
{ | ||
"name": "country-locale-map", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "Provides mapping between country codes and provides default country locals. Includes optional fuzzy matching for country name.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -37,3 +37,3 @@ # Country Locale Map [![Build Status](https://travis-ci.com/atnmorrison/country-locale-map.svg?branch=master)](https://travis-ci.com/atnmorrison/country-locale-map) | ||
```javascript | ||
clm.getCountryNameByAlpha2('CA'); //returns '124' | ||
clm.getNumericByAlpha2('CA'); //returns '124' | ||
``` | ||
@@ -50,3 +50,3 @@ | ||
```javascript | ||
clm.getCountryNameByAlpha2('CA'); | ||
clm.getCountryByAlpha2('CA'); | ||
@@ -53,0 +53,0 @@ /*returns |
93489