1.1.1 • Published 3 years ago

onlineconf v1.1.1

Weekly downloads
103
License
MIT
Repository
-
Last release
3 years ago

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
1.1.1

3 years ago

1.1.0

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

4 years ago

1.0.1

6 years ago

1.0.0

6 years ago