Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

README.md

nyc-street-normalizer

Normalizes New York City street and avenue names and abbreviations, part of the NYC Space/Time Directory project.

Examples:

Input Output
Rivington Rivington Street
Av B Avenue B
W. 17th West 17th Street
B'way Broadway
Merchants Ex Merchants Exchange
Grace Ct. Grace Court

For more examples, see test/streets.json.

Installation & usage

From Node.js:

npm install --save nypl-spacetime/nyc-street-normalizer
const normalizer = require('@spacetime/nyc-street-normalizer')

console.log(normalizer('b\'way'))

From the command line:

npm install -g nypl-spacetime/nyc-street-normalizer

nyc-street-normalizer "b'way"

About

Module to normalize New York City street and avenue names

Resources

License

Releases

No releases published
You can’t perform that action at this time.