0.0.7 • Published 6 years ago

envgrabber v0.0.7

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

Usage :

yarn add envgrabber

in your app

const envGrabber = require('envgrabber');

(async () => {
  await envGrabber({
    bucketName: 'my_super_secret_bucket',
    fileName: '.env', // optional, '.env' is assumed.
  });
  console.log(process.env.MY_ENV_VAR);
})()

Authentication :

If the Storage bucket and your app are in the same project you won't need to do any authentications. If you'd like to use the module outside GAE, you'll have to make sure you've authenticated your local machine or started your app with the proper authentication environment variables.

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago