0.2.1 • Published 7 years ago

hugla-config v0.2.1

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

HuglaConfig

Hugla web framework's node back-end config module

Build Status Coverage Status

Usage

Here is a descriptive example of using HuglaConfig

// require the module
const HuglaConfig = require('hugla-config');

// instantiate
const huglaConfig = new HuglaConfig();

// add sources
huglaConfig.addFile(configFilePath);
huglaConfig.addEnv();
huglaConfig.addConfig({ 'foo': 'bar' });

// and use
console.log(huglaConfig.config.foo);

License

MIT

0.2.1

7 years ago

0.2.0

7 years ago

0.1.1

9 years ago

0.1.0

9 years ago