@randomkits/china-phone-number
v0.0.3
Published
Random Kits - Random China Phone Number Generator Data Module And Random Function.
Downloads
3
Maintainers
Readme
Random China Phone Number Generator
Online Example: RandomKits - Can’t Decide? Try Random Kits!
Random get China Phone Number data.
Install
npm install @randomkits/china-phone-number
yarn add @randomkits/china-phone-number
pnpm add @randomkits/china-phone-number
Usage
import ChinaPhoneNumber from "@randomkits/china-phone-number";
// simple
ChinaPhoneNumber.random();
// => ChinaPhoneNumber[]
// random number default => {num: 6}
ChinaPhoneNumber.random({ num: 6 });
// return string[];
Api
ChinaPhoneNumber.random({num?, language?})
Get Random china-phone-number.
num
- Type:
number
- Default:
6