Takes street names with various abbreviations and attempts to expand them.
npm install @cityssm/street-name-normalize
import { normalizeStreetName } from '@cityssm/street-name-normalize'
// Sault Ste. Marie, Ontario specific settings
import { normalizeSsmStreetName } from '@cityssm/street-name-normalize/ssm.js'
normalizeStreetName('1st Ave')
// => FIRST AVENUE
normalizeSsmStreetName('ST GEORGES AVE E')
// => ST. GEORGE'S AVENUE EAST
- Typescript support.
- Expands common street name type abbreviations.