1.0.1 • Published 8 years ago

complacent v1.0.1

Weekly downloads
12
License
MIT
Repository
github
Last release
8 years ago

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