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

parse-phone

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parse-phone - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

package.json
{
"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' }
```
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