heinzelmannchen-config

1.0.1 • Public • Published

Heinzelmannchen-config

This module handles the configuration of heinzelmannchen. It uses rc to obtain the nearest configfile.

Usage

sample config

{
    key: 'value',
    array: [1, 2, 3],
    sub: {
        key: 'anOtherValue'
    }
}
var config = require('heinzelmannchen-config');
 
config.get('key'); // value
config.get('sub.key'); // anOtherValue

/heinzelmannchen-config/

    Package Sidebar

    Install

    npm i heinzelmannchen-config

    Weekly Downloads

    2

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • schtoeffel