onlineconf
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i onlineconf

Weekly Downloads

175

Version

1.1.1

License

MIT

Unpacked Size

13.9 kB

Total Files

6

Last publish

Collaborators

  • array07