0.0.5 • Published 9 years ago
configurus v0.0.5
node-configurus
Configurus client for nodejs applications
CONFIGURUS WEBSITE IS STILL UNDER CONSTRUCTION
the Configurus website where you can manage the configs that this package connects with will be available soon.
Thank you for your patience.
Installation
sudo npm install configurus
Usage
var config = require('configurus')();
Options
Out of the box configurus will set all the options to their default values.
You can set the options to custom values by passing an options object when requiring.
var options = {
path: '/path/to/configurus.conf',
config: {
key: 'configuruskeyfromwebui',
env: 'environment_name'
}
};
var config = require('configurus')(options);
Known issues
If when you install the package, using npm, you recieve an error for the depencency 'spawn-sync' you should upgrade your version of node as it is out of date.
sudo npm cache clean -f
sudo npm install -g n
sudo n stable
If you get an error when calling sudo n stable
it is possible you need to install curl.