Parse a google place into a normal US address format
$ npm install --save parse-google-place
var parseGooglePlace = require('parse-google-place')
parseGooglePlace(googlePlace)
//=> address
Required
Type: object
A place from the google places API. See ./fixture.js for an example.
"Address" is an object with the following keys:
- streetNumber
- streetName
- address
- city
- county
- stateShort
- stateLong
- countryShort
- countryLong
- zipCode
Any properties not found in the place result will default to empty string.
MIT © Andrew Joslin