street-suffix

Expands and Abbreviates USPS Street Suffixes

Showing:

Popularity

Downloads/wk

660

GitHub Stars

4

Maintenance

Last Commit

3yrs ago

Contributors

3

Package

Dependencies

1

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

street-suffix

Utility for expanding and abbreviating US street types from their many abbreviations.

Instaling

npm install --save street-suffix

Examples

Expanding Street Types

Expanding a street type abbreviation into it's full USPS suffix street-suffix

let suffix = require('street-suffix');

suffix.expand('st') // STREET
suffix.expand('ave') // AVENUE
suffix.expand('av') // AVENUE
suffix.expand('avenue'); // AVENUE

Abbreviating Street Types

Abbreviating a street type suffix or abbreviation into it's USPS standard abbreviation

let suffix = require('street-suffix');

suffix.abbreviate('street'); // ST
suffix.abbreviate('avenue'); // AVE
suffix.abbreviate('ave'); // AVE
suffix.abbreviate('av'); // AVE

This works for all standard USPS abbreviations

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial