2.0.3 • Published 2 months ago
@zerodep/address-data v2.0.3
@zerodep/address-data
Get address-related information about a state/province by its name or abbreviation.
This package is part of the zerodep.app ecosystem; see the website for full documentation.
Typescript Signature
export interface AddressCountyInfo {
countyName: string;
fips: string;
}
export interface GeoState {
stateName: string;
stateAbbr: string;
countryName: string;
countryAbbr: string;
fips: string;
counties: AddressCountyInfo[];
}
export declare const addressState: (state: string, country?: string) => GeoState;