parse-address-string
parse-address-string copied to clipboard
Extract street, city, state, zip, and country components from single-line address string
When parsing address that contains only city & state and the city name matches a state name, then parsing would probably be incorrect. Parsing address like `New York, NY` results...
Hi, awesome library! I found some issue with postal codes that has dash (or space char) in them. `state` is null when address ends with "-1234", for example: ``` (async...
When parsing `Ontario, California, United States` get incorrect result ``` const { street_address1, city, state, postal_code, } = parseAddress('Ontario, California, United States of America'); ``` Leads to ``` { street_address1:...
I tried to parse this address 'Bourke St, Melbourne VIC 3000, Australia' , This generated following response which has missing zip code and state. ``` { street_address1: 'Bourke St', city:...