0.1.8 • Published 5 years ago

foobelt v0.1.8

Weekly downloads
2
License
ISC
Repository
github
Last release
5 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

5 years ago

0.1.6

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago