complacent

1.0.1 • Public • Published

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

Package Sidebar

Install

npm i complacent

Weekly Downloads

2

Version

1.0.1

License

MIT

Last publish

Collaborators

  • bendrucker