kraken-config-enumerator

2.0.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i kraken-config-enumerator

Weekly Downloads

9

Version

2.0.1

License

Apache-2.0

Last publish

Collaborators

  • aredridel
  • pvenkatakrishnan
  • grawk
  • jasisk