UNPKG

@jakguru/phone-object

Version:

An immutable data structure representing a specific phone number and accompanying methods. It contains class and instance methods of creating, parsing, validating, and formatting phone numbers. Based on google-libphonenumber, which is in turn based on Goo

15 lines 418 B
/** * An interface describing an object where a NANPA area code is a key, and a NANPA country code is a value. */ export interface AreaCodeMap { [areaCode: string]: string; } /** * A map of NANPA area codes to NANPA country codes. */ export declare const areaCodeMap: AreaCodeMap; /** * A list of NANPA country codes. */ export declare const nanpaCountries: Array<string>; //# sourceMappingURL=nampa.d.ts.map