@randomkits/china-phone-number
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

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

Issues

Github Issues

Examples

Packages

Package Sidebar

Install

npm i @randomkits/china-phone-number

Weekly Downloads

0

Version

0.0.3

License

AGPL-3.0

Unpacked Size

37.8 kB

Total Files

3

Last publish

Collaborators

  • meetqy