country-code-splitter

1.0.3 • Public • Published

Country Code Splitter

country-code-splitter module is used to split phone numbers by country code.

Installation

npm install country-code-splitter --save

Ex :

var country_splitter = require('country-code-splitter');
console.log(country_splitter.getNumber("+160987654329"));

O/P :

{ code: '+1', number: '60987654329' }

Package Sidebar

Install

npm i country-code-splitter

Weekly Downloads

301

Version

1.0.3

License

ISC

Unpacked Size

2.91 kB

Total Files

3

Last publish

Collaborators

  • chetankumar