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);

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i gcp-config

    Weekly Downloads

    15

    Version

    1.0.3

    License

    GPL-3.0

    Last publish

    Collaborators

    • tunix