Skip to content

Experty/gapi-browser

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%