load-google-api

0.1.3 • Public • Published

Load Google API

Webpack based promise wrapper around the Google API Client. Injects into page and initalizes client library. Sign-in process left to developer. Includes an example page that with sign-in attached to a button.

To run example page, you must have an application with the proper authorizations from Google Cloud Console. Rename 'auth.sample.json' to 'auth.json' and add your credentials.

Currently built for Chrome. See to-do list.

Features

  • Webpack 2 based.
  • ES6 as a source.
  • Exports in a umd format so your library works everywhere.
  • ES6 test setup with Mocha and Chai.
  • Linting with ESLint.

To Do

Build

$> yarn install
$> yarn run build

Development and Sample Page

$> yarn run dev
$> open http://localhost;8080

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.3
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.3
    1
  • 0.1.2
    0
  • 0.1.1
    0

Package Sidebar

Install

npm i load-google-api

Weekly Downloads

0

Version

0.1.3

License

MIT

Last publish

Collaborators

  • ryanjohnston