Skip to content

Commit

Permalink
feat(normalizers): add more abbreviations
Browse files Browse the repository at this point in the history
There are still more to add, we really should use the full [USPS
Abbreviation list](https://pe.usps.com/text/pub28/28apc_002.htm)
  • Loading branch information
orangejulius committed Jun 3, 2020
1 parent df5c2c0 commit 8b4451e
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion lib/normalizers.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,18 @@ module.exports.abbreviateStreetSuffixes = function(val) {
}

var terms = {
'LOOP': 'LP',
'LANE': 'LN',
'COURT': 'CT',
'CIRCLE': 'CIR',
'JUNIOR': 'JR',
'WAY': 'WY',
'STREET': 'ST',
'AVENUE': 'AVE',
'PLACE': 'PL',
'AVENUE': 'AV',
'AVE': 'AV',
'TERRACE': 'TERR',
'PARKWAY': 'PKWY',
'BOULEVARD': 'BLVD',
'ROAD': 'RD',
'DRIVE': 'DR'
Expand Down

0 comments on commit 8b4451e

Please sign in to comment.