0.0.2 • Published 6 years ago

google-cloud-runtime-config v0.0.2

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

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)