Nuclear Potato Monster

    place-parser

    1.0.1 • Public • Published

    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

    Install

    npm i place-parser

    DownloadsWeekly Downloads

    3

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • kevincennis
    • spmurrayzzz