Catalog npm
Back to packageRELEASE DETAILS

1.0.1

npm

@0devco/bd-phone-validator

Bangladesh (BD) phone number validation

0devcobdbd-cellnum-validationbd-mobile-operatorbd-phone-validationbd-sellnum-validation
Published17 Oct 2018
Direct dependencies0
Transitive dependenciesNot calculated

README

Current package documentation

+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

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 0

Native requirements
0 direct targetsNot calculated transitive count
No declared dependencies in this collected response

Declarations describe requirements; they are not a resolved dependency graph.

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-G1fdo43aLC2ZSgi/WUwnfzJvqfCOwPF/RopDkc8a7gBOJ/CUGH486KOlFfUk+BScaTJkw++J53wOn+Fe8xip4A==",
  "shasum": "c4b44a10e54f77ecd864b190f506a25459bcff90",
  "tarball": "https://registry.npmjs.org/@0devco/bd-phone-validator/-/bd-phone-validator-1.0.1.tgz",
  "fileCount": 3,
  "unpackedSize": 4110,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxoyICRA9TVsSAnZWagAA05EQAI/45Og/F2mbUkgx0c4Z\nTPQO9gv80b0iDfWxY5Cr6LKPY0j/CoPRzuhWTtg7tJKd8pyojxFMXSdBFKl2\nMVZjm0liiOVwfrEEfBg+E0E138c4QdUCvofWdHjYwT+/S0H2qeRAhbcD4mPG\npi0XKxvYmXfgZen4G1/Ax5gb4eJFFs8uJl+MBrHJde+wvGGMji07O3m1+su8\nw4Gm/U8FEnq5UL1X6rL8+zfgLLYOCoVtTgEU2FH8CU9gFbh/FAV9tFBrfhaK\nHqwUV8KIkAh1zNDHlbre7M77vIiGxk2NrtdlinDDswWF45S6uo7mkDqikvQ8\n1DGKsR9O+omjAdGhS+FMg02JnlRF4rMMvmfYKOSRIUZzJ89/nxo48DhAAvOr\n8/PVBO67frQzIiseLjoEvbng2g4E+M610732b3Mv0ap/TykCd21BRfiiQKQt\nloumEzHHiJN0TXz14JxNcPC4R81x6T0Wzl0ELUAiFLpPpcpGZSD6klUljffc\nvqCHYhyu1RHPBOLR/9uTJiNrOp06FJDIvVrrzFsUjZzf5aFJD7NO3svzoP/l\n4109NeYfYCYGIiUX/6z30t63kvgYURgIgfvHnz77i0gr1REUdOs662FkBazL\nJcuFPCD/vnqFo4w29xqZSjxiHj5cj8Izb2WhqPCmKZ7n2pN5RzqB4Ze5HWUp\nEWF+\r\n=qXJR\r\n-----END PGP SIGNATURE-----\r\n",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEYCIQCoWROjPI9o8SnGG2s2gWlhyNB85VAwAuu67CgBb2psUgIhANgJrqM4duhFj5sPEgQ8XJUtBI4e2JZ2RJ7d2fxiU1M4"
    }
  ]
}

Repository

PENDING
code4mk/bd-phone-validator

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:07 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:0990b3d5cf5442046bf8a86e6c930ab4158e9efdf1f6b460ea724869b7464fe9

Other collected versions

2.0.017 Oct1.0.217 Oct1.0.017 Oct0.0.217 Oct0.0.116 OctView all collected versions →