/bd-phone-validator

BD Phone Number Validator

Primary LanguageJavaScriptMIT LicenseMIT

BD Phone Number Validator

This module can identify valid or invalid BD Phone Numbers. Expect a phone number, return a boolean which is identify is it valid or not.

Installation

npm i bd-phone-validator

Usage

const { validate } = require("bd-phone-validator");
validate(phoneNumber) accepts a phone number & return a boolean which is identify is it valid or not.