0.0.1 • Published 7 years ago
myanphone v0.0.1
myanphone
Javascript module for checking operator, network type by using phone number.
Installation
Using yarn
$ yarn add myanphone
Using npm
$ npm install myanphone --save
Usage
Import
import { sanitize, validate, getOperatorName, getNetworkType } from 'myanphone'
Sanitize the phone number
sanitize(PHONE_NUMBER)
Validate the phone number
validate(PHONE_NUMBER")
Operator Name
getOperatorName(PHONE_NUMBER")
Network Type
getNetworkType(PHONE_NUMBER")
Credit
0.0.1
7 years ago