gcp-config

1.0.3 • Public • Published

gcp-config

Module that loads config.json file from Google Cloud Storage

Usage

const conf = require("gcp-config")(
    bucket: "my-bucket",
    projectId: "my-project"
);

conf
    .then((config) => console.log(config["my-key"]))
    .catch(console.error);

Readme

Keywords

Package Sidebar

Install

npm i gcp-config

Weekly Downloads

3

Version

1.0.3

License

GPL-3.0

Last publish

Collaborators

  • tunix