Skip to content

nypl-spacetime/nyc-street-normalizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published