package
Parse a google place into a normal US address format
npm install parse-google-placeGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Estimated unpacked size across 1 packages.
7.0 kB
Includes dependencies.
Parse a google place into a normal US address format
$ npm install --save parse-google-placevar parseGooglePlace = require('parse-google-place')
parseGooglePlace(googlePlace)
//=> addressparseGooglePlace(place) -> addressRequired
Type: object
A place from the google places API. See ./fixture.js for an example.
"Address" is an object with the following keys:
Any properties not found in the place result will default to empty string.
MIT © Andrew Joslin