Skip to content

onlineconf/onlineconf-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Node.js library for reading OnlineConf files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •