0.1.8 • Published 6 years ago

foobelt v0.1.8

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

foobelt

Foo's Utility Belt

ConfigReader

Parameters

ConfigReader(filename|hash, RunMode)

  • Supports hash, .js, and .json file formats

Example 1

const foobelt = require('foobelt'),
    Config = foobelt.ConfigReader('./config.js','production');

Example 2

const {ConfigReader} = require('foobelt'),
    Config = ConfigReader({
        param1: 1000,
        untouchedparam: 'hello'
        production: {
            param1: 2000
        }
    },'production');
0.1.8

6 years ago

0.1.6

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago