ee-configfile

    1.0.0 • Public • Published

    ee-configfile

    config file loader

    loads one of the following config file in the dir specified:

    • config.dev.js when the apps was started with the --dev flag
    • config.testing.js when the apps was started with the --testing flag
    • config.staging.js when the apps was started with the --staging flag
    • config.live.js when the apps was started with the --live flag

    it tries also to load the config.js file, if found it applies it to the config found in one of the other files.

    the config files must export an objet with keys.

    installation

    npm install ee-configfile
    

    build status

    Build Status

    usage

    var ConfigLoader = require('ee-configfile');
    
    var config = new ConfigLoader(__dirname);

    Keywords

    Install

    npm i ee-configfile

    DownloadsWeekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • ee