0.0.4 • Published 2 years ago

ischinesemobilenumber v0.0.4

Weekly downloads
1
License
MIT
Repository
github
Last release
2 years ago

isChineseMobileNumber

Check if a number is a Chinese mobile phone number

Tips: This package was actually on npmjs.org for a few years, but due to a mistake by npmjs, it was deleted and could not be restored. npmjs suggested that I should re-upload it.

Usage

First, install it from NPM

npm install ischinesemobilenumber

Second, import & code

const checkmobile = require("ischinesemobilenumber");
console.log(checkmobile.ischinesemobilenumber("13000000000"));

Parameter Description

It is not necessary to add the country code of China (+86) to the mobile number, just place the number.

Return result

It will return true or false.

License

MIT

0.0.4

2 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

4 years ago