@0devco/bd-phone-validator 中文文档教程
+880
bd-phone-validator
孟加拉国电话号码验证
install
# npm
npm install @0devco/bd-phone-validator
# yarn
yarn add @0devco/bd-phone-validator
use
let bdPhone = require('@0devco/bd-phone-validator')
/* import */
import bdPhone from '@0devco/bd-phone-validator'
let check = bdPhone('01751211255')
console.log(check)
11 digit phn
01751200200
,+8801751200200
bdPhone('01751200200')
less 11 digit
0175120020
,017 512 00 20
bdPhone('0175120020')
exceed (digit > 11)
输入=>
013512002002
,+88013512002002
,+880 (135) 120-02002
输出提示 =>
+8801351200200
bdPhone('013512002002')
invalid operator
012512002002
bdPhone('012512002002')
demo
+880
bd-phone-validator
Bangladesh phone number validation
install
# npm
npm install @0devco/bd-phone-validator
# yarn
yarn add @0devco/bd-phone-validator
use
let bdPhone = require('@0devco/bd-phone-validator')
/* import */
import bdPhone from '@0devco/bd-phone-validator'
let check = bdPhone('01751211255')
console.log(check)
11 digit phn
01751200200
,+8801751200200
bdPhone('01751200200')
less 11 digit
0175120020
,017 512 00 20
bdPhone('0175120020')
exceed (digit > 11)
input =>
013512002002
,+88013512002002
,+880 (135) 120-02002
output suggest =>
+8801351200200
bdPhone('013512002002')
invalid operator
012512002002
bdPhone('012512002002')
demo
更多
你可能也喜欢
- 0719-2020-yft 中文文档教程
- @0x-lerna-fork/has-npm-version 中文文档教程
- @104corp/cfn-dns-resolver-module 中文文档教程
- @36node/template-sdk 中文文档教程
- @3fv/prelude-ts 中文文档教程
- @4geit/rct-project-builder 中文文档教程
- @7urtle/server 中文文档教程
- @8devices/restserver-api 中文文档教程
- @8pattern/jmiddleware 中文文档教程
- @a15396222371/batman-component-template 中文文档教程