We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using the address parser, I would like an option for skipping the abbreviating of address components like state and street type.
For example:
var parser = require('parse-address'); var parsed = parser.parseLocation('1005 N Gravenstein Highway Sebastopol CA 95472'); // produces... { number: '1005', prefix: 'N', street: 'Gravenstein', type: 'Hwy', city: 'Sebastopol', state: 'CA', zip: '95472' }
With the new feature, all sub-strings would remain unmodified if desired:
var parser = require('parse-address'); var parsed = parser.parseLocation('1005 N Gravenstein Highway Sebastopol CA 95472', skipAbbrev=true); // or some other flag to skip abbreviation // produces... { number: '1005', prefix: 'N', street: 'Gravenstein', type: 'Highway', // doesn't abbreviate city: 'Sebastopol', state: 'CA', // leaves abbreviated zip: '95472' }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When using the address parser, I would like an option for skipping the abbreviating of address components like state and street type.
For example:
With the new feature, all sub-strings would remain unmodified if desired:
The text was updated successfully, but these errors were encountered: