vi-config
v1.0.2
Published
An easy, simple config loader for nodejs
Downloads
5
Readme
vi-config
An easy, simple config loader for nodejs
Demo
import * as path from 'path';
import * as config from '../dist/main';
config.init({
root: path.resolve(__dirname, 'config')
});
console.log(config.get('foo.bar') + ' ' + config.get('foo.baz')); // Got 'Hello World'