Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

country-locale-map

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

country-locale-map - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

package.json
{
"name": "country-locale-map",
"version": "1.0.2",
"version": "1.0.3",
"description": "provides mapping between country codes and default country locals",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -8,3 +8,3 @@ # Country Locale Map

const clm = require(country-locale-map);
clm.getAlpha3ByAlpha2(alpha2)
clm.getAlpha3ByAlpha2('CA'); //returns 'CAN'

@@ -14,2 +14,3 @@

### Alpha2
- getAlpha3ByAlpha2(alpha2)

@@ -21,2 +22,3 @@ - getLocaleByAlpha2(alpha2)

### Alpha3
- getAlpha2ByAlpha3(alhpa3)

@@ -28,2 +30,3 @@ - getLocaleByAlpha3(alhpa3)

### Numeric
- getAlpha2ByNumeric(numeric)

@@ -30,0 +33,0 @@ - getAlpha3ByNumeric(numeric)

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc