Socket
Socket
Sign inDemoInstall

complacent

Package Overview
Dependencies
40
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    complacent

Google places client for the browser with a sane API


Version published
Weekly downloads
3
increased by200%
Maintainers
1
Install size
315 kB
Created
Weekly downloads
 

Readme

Source

complacent Build Status

Google places client for the browser with a sane API

Install

$ npm install --save complacent

Usage

var Maps = require('complacent')
var maps = Maps({
  key: 'yourApiKey'
})

maps.autocomplete.places({input: 'San Francisco'}, function (err, results) {
  //=> null, [{id: 'abc'} ...]  
})

API

For more details on the returned API, see google-places-browser.

Complacent(options) -> object
options

Required
Type: object

Options passed to load-google-maps.

License

MIT © Ben Drucker

Keywords

FAQs

Last updated on 05 Mar 2016

Did you know?

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc