gapi-browser
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

gapi-browser

Promise based package that is helping attaching actual google api script in browser

Install

npm i gapi-browser

Using

import { getGapi } from 'gapi-browser';
 
getGapi.then(gapi => {
  console.log(gapi, gapi.load);
});

How

Google script is added directly to HEAD or BODY tag

header script

Promise is called ass soon as possible

console

Package Sidebar

Install

npm i gapi-browser

Weekly Downloads

4

Version

1.0.4

License

MIT

Unpacked Size

4.85 kB

Total Files

6

Last publish

Collaborators

  • gkucmierz