Socket
Book a DemoInstallSign in
Socket

kraken-config-enumerator

Package Overview
Dependencies
Maintainers
4
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kraken-config-enumerator

A tool to enumerate kraken configs for error checking and other tooling

2.0.1
latest
Source
npmnpm
Version published
Weekly downloads
1
Maintainers
4
Weekly downloads
 
Created
Source

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

Keywords

confit

FAQs

Package last updated on 01 Jul 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.