@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.
7 lines (6 loc) • 326 B
TypeScript
/**
* CORS header set used by every adapter. `methods` lets each platform
* advertise the verbs it actually supports without re-declaring the rest.
*/
export declare function corsHeaders(methods?: string): Record<string, string>;
export declare function jsonHeaders(extra?: Record<string, string>): Record<string, string>;