google-cloud-runtime-config

0.0.2 • Public • Published

google-cloud-runtime-config

runtime configuration for google cloud platform

Installation

npm install --save google-cloud-runtime-config

Usage

const runtimeConfig = require('google-cloud-runtime-config')({
  projectId: '{{your project id}}'
})

exports.entry = (req, res) => {
  return runtimeConfig.getConfig('{{your runtime configuration name}}')
    .then(config => {
      // write your own function!
    })
}

License

The MIT License (MIT)

Readme

Keywords

none

Package Sidebar

Install

npm i google-cloud-runtime-config

Weekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • tosuke