UNPKG

@phonecheck/phone-number-validator-js

Version:

Validate, parse, and enrich international phone numbers — geocoding, carrier lookup, and timezone resolution. Sync (Node) + async (serverless) APIs, platform adapters, and a CLI.

13 lines (12 loc) 543 B
/** * `phone-validate` CLI entry point. * * Wired into `package.json#bin` so `bun add -g @phonecheck/phone-number-validator-js` * (or the npm equivalent) installs a `phone-validate` command. */ import '../index'; export type { CliArgError, ParsedArgs, ParsedHelp, ParsedVersion, ParseResult } from './parse-args'; export { helpText, parseArgs } from './parse-args'; export type { CliRunDeps } from './run'; export { exitCodeFor, logFileNameFor, run } from './run'; export declare function main(argv?: readonly string[]): Promise<number>;