@clipboard-health/phone-number
v2.13.6
Published
Phone number utility functions.
Keywords
Readme
@clipboard-health/phone-number
Phone number utility functions.
Table of contents
Install
npm install @clipboard-health/phone-numberUsage
import { randomPhoneNumber } from "@clipboard-health/phone-number";
const nationalPhoneNumber = randomPhoneNumber();
const internationalPhoneNumber = randomPhoneNumber({ international: true });randomPhoneNumber produces valid-looking NANP numbers for synthetic identities. The numbers are
not reserved, so callers must suppress outbound routing.
Local development commands
See package.json scripts for a list of commands.
