env-scry

1.0.1 • Public • Published

env-scry

A simple tool for finding all the environment vars in both the active project and all of its dependencies.

Usage

var envScry = require("env-scry");

envScry(process.cwd(), function(err, data){
	var envVars = Object.keys(data);
	envVars.forEach(function(envVar){
		var sourceModules = data[envVar];
		console.log(envVar, sourceModules.join(" "));
	});
});

CLI

> npm install env-scry -g

> env-scry

# from mocha
COV=""
MOCHA_COLORS=""
TERM=""
PATH=""
DEBUG_COLORS=""
JADE_COV=""
TEST_REGEN=""
NODE_DEBUG=""

Dependencies (1)

Dev Dependencies (1)

Package Sidebar

Install

npm i env-scry

Weekly Downloads

0

Version

1.0.1

License

MIT

Last publish

Collaborators

  • danmactough
  • mcwhittemore