country-name
Advanced tools
Comparing version 0.1.2 to 0.2.0
var DATA = require("./data.json"); | ||
function get(countryCode, language) { | ||
if (DATA.countryNames[countryCode] != null) { | ||
return DATA.countryNames[countryCode]; | ||
} | ||
var key = DATA.country[countryCode]; | ||
@@ -5,0 +9,0 @@ return DATA.countryNames[language][key]; |
{ | ||
"name": "country-name", | ||
"version": "0.1.2", | ||
"version": "0.2.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3987
48