A helper for authenticating with the APIs
npm install gsuite-oauth-manager
oauthManager = gsuiteOauthManager({});
gsuiteOauthManager({
tokenFile: "path to token file,
credentialsFile: "path to credentials file"),
scopes: ["requested scopes"]
}).getAuthorisation();
npm test
In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.