kraken-config-enumerator
v2.0.1
Published
A tool to enumerate kraken configs for error checking and other tooling
Downloads
18
Readme
kraken-config-enumerator
Simple environment configuration file loader for kraken app
Note: This is for tool use and not a normal way to get kraken configs
Usage
var loadEnvConfig = require('kraken-config-enumerator');
loadEnvConfig('development', '/path/to/app');
loadEnvConfig(env, appdir)
env
- environment from which you want to load the configuration from.appdir
- path to your kraken application
'use strict';
var path = require('path');
var loadEnvConfig = require('kraken-config-enumerator');
var appdir = path.join(__dirname + 'my-kraken-app');
loadEnvConfig('development', appdir); //returns a promise object having loaded environment configuration