config
Simple Config Log with HashiCorp Vault support.
Installation
npm install --save git+ssh://git@it-devops-01.br-edv.brnet.int:general/config.git
Usage
let config = require('config')
Then config is your config object. (Use it like config.setting)
It reads from the following sources, performing a deep merge:
(The Top Value overwrites the lower ones)
- ENV
- config.json
- config.defaults.json
TODO / Missing
- hashicorp values support: if value == "vault:", treat it as secret
- tests