JSPM

street-types

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2175
  • Score
    100M100P100Q111128F
  • License MIT

Street suffixes and abbreviations

Package Exports

  • street-types

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (street-types) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

street-types

US street types/suffixes and abbreviations

Install

$ npm install street-types

API

var streetTypes = require('street-types');

console.log(streetTypes);
/*
[
  {
    "suffix": "ALLEY",
    "abbrs": ["ALLEE", "ALLEY", "ALLY", "ALY"],
    "standardAbbr": "ALY"
  },
  {
    "suffix": "ANEX",
    "abbrs": ["ANEX", "ANNEX", "ANNX", "ANX"],
    "standardAbbr": "ANX"
  },
  {
    "suffix": "ARCADE",
    "abbrs": ["ARC", "ARCADE "],
    "standardAbbr": "ARC"
  },
  ...
]
*/

Source

http://pe.usps.gov/text/pub28/28apc_002.htm

License

MIT