Socket
Book a DemoInstallSign in
Socket

place-parser

Package Overview
Dependencies
Maintainers
3
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

place-parser

Break Google Places up into US address components

1.0.1
latest
Source
npmnpm
Version published
Weekly downloads
2
Maintainers
3
Weekly downloads
 
Created
Source

place-parser

Build Status

Break Google Places up into US address components

Installing

npm install --save place-parser

Example

'use strict';

const parser = require('place-parser');

const result = parser( someGooglePlaceObject );

console.log( result );

// {
//   street_number: '38',
//   street_name: 'Chauncy Street',
//   city: 'Boston',
//   county: 'Suffolk County',
//   state_short: 'MA',
//   state_long: 'Massachusetts',
//   country_short: 'US',
//   country_long: 'United States',
//   zip_code: '02111',
//   address: '38 Chauncy Street'
// }

Keywords

places

FAQs

Package last updated on 09 Feb 2017

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.