libphonenumber-geo-carrier
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "libphonenumber-geo-carrier", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "This library includes the geocoding and carrier mapping functionalities that are available in some of googles libphonenumber libraries but not in libphonenumber-js (a port of libphonenumber).", | ||
@@ -37,3 +37,10 @@ "main": "lib/index.js", | ||
"libphonenumber-js": "^1.7.48" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/mmende/libphonenumber-geo-carrier" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/mmende/libphonenumber-geo-carrier/issues" | ||
} | ||
} |
@@ -33,6 +33,7 @@ # What does this library do? | ||
const mobileNumber = parsePhoneNumberFromString('01701234567', 'DE') | ||
const originalCarrier = await carrier(fixedLineNumber) // T-Mobile | ||
// const originalCarrier = await carrier(fixedLineNumber) // | ||
const originalCarrier = await carrier(mobileNumber) // T-Mobile | ||
// Works with locale as well, but there are not so much translations available for carriers: | ||
// const originalCarrier = await carrier(fixedLineNumber, 'zh') | ||
} | ||
main() | ||
``` |
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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
13004163
0
39
2