parse-phone
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "parse-phone", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "phone string parser", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
# parse-phone | ||
phone parser for country dialing code parsing from full string | ||
## Get Started | ||
``` | ||
const phoneStr = "+86188888888" | ||
const phoneParser = require('parse-phone') | ||
const recipient = phoneParser(phoneStr) | ||
{ success: true, | ||
dialCode: '+86', | ||
full: '+86188888888', | ||
phone: '188888888' } | ||
``` |
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
3312
16