clinical:env-config-debug

v0.0.1Published 8 years ago

This package has not had recent updates. Please investigate it's current state before committing to using it in your project.

clinical:env

Drop in config that will enable DEBUG, TRACE, and TEST environment variables.

build status

========================================

Installation

meteor add clinical:env-config-debug

========================================

Usage

Adding this package enables the following API in your applicaiton.

1  if (Env.isDebug) {
2    // display or log debug info
3  }
4  if (Env.isTrace) {
5    // display or log trace info
6  }
7  if (Env.isDevelopment) {
8    // display development feature
9  }
10  if (Env.isTesting) {
11    // display testing feature
12  }

========================================

Licensing

MIT License