myanphone
v0.0.1
Published
Myanmar phone number info such as operator names, network type and phone number validation
Downloads
8
Readme
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")