onlineconf
Node.js package onlineconf
reads configuration files generated by OnlineConf.
Installation
npm install onlineconf
Usage
const onlineconf = require('onlineconf');
// read value
const value = onlineconf.get('/my/parameter');
// watch config changes
onlineconf.on('reload', () => console.log(`new value: ${onlineconf.get('/my/parameter')}`));
Tests
npm test