New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

parse-google-place

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parse-google-place

Parse a google place into a normal US address format

latest
Source
npmnpm
Version
1.3.0
Version published
Weekly downloads
1.6K
-6.03%
Maintainers
1
Weekly downloads
 
Created
Source

parse-google-place Build Status

Parse a google place into a normal US address format

Install

$ npm install --save parse-google-place

Usage

var parseGooglePlace = require('parse-google-place')

parseGooglePlace(googlePlace)
//=> address

API

parseGooglePlace(place) -> address

place

Required Type: object

A place from the google places API. See ./fixture.js for an example.

Returns address

"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.

License

MIT © Andrew Joslin

Keywords

parse

FAQs

Package last updated on 20 Dec 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts