@zerodep/address-data
TypeScript icon, indicating that this package has built-in type declarations

2.0.3 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.3
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.3
    0
  • 2.0.2
    0
  • 2.0.1
    0
  • 2.0.0
    0

Package Sidebar

Install

npm i @zerodep/address-data

Homepage

zerodep.app

Weekly Downloads

0

Version

2.0.3

License

MIT

Unpacked Size

178 kB

Total Files

7

Last publish

Collaborators

  • cdepage