Skip to content

A Javascript module for checking operator, network type by using phone number

License

Notifications You must be signed in to change notification settings

HeinZawHtet/myanphone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

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

myanmar-phonenumber

About

A Javascript module for checking operator, network type by using phone number

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published