0.3.4 • Published 2 years ago

@gve/google v0.3.4

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

Google

Utilities to work easily with Google Cloud.

Installation

Install with npm.

npm i @gve/google

Usage

The auth module attempts to get Google application credentials from the environment variable GOOGLE_APPLICATION_CREDENTIALS. If that fails, it looks for GVE_GOOGLE_EMAIL and GVE_GOOGLE_KEY to get them.

const { auth: googleAuth } = require("@gve/google");
const dialogflow = require("@google-cloud/dialogflow");

const config = { credentials: googleAuth.credentials };
const sessionsClient = new dialogflow.SessionsClient(config);

License

Apache 2.0

0.2.7

2 years ago

0.3.4

2 years ago

0.2.4

2 years ago

0.2.0

2 years ago

0.1.20

2 years ago

0.1.19

2 years ago

0.1.18

2 years ago