2.0.3 • Published 2 months ago

@zerodep/address-data v2.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

@zerodep/address-data

version language types license

CodeFactor Known Vulnerabilities

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;
2.0.3

2 months ago

2.0.2

2 months ago

2.0.1

2 months ago

2.0.0

7 months ago