Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/clinical-meteor/env-config-debug
Drop in config that will enable DEBUG, TRACE, and TEST environment variables.
https://github.com/clinical-meteor/env-config-debug
Last synced: about 2 months ago
JSON representation
Drop in config that will enable DEBUG, TRACE, and TEST environment variables.
- Host: GitHub
- URL: https://github.com/clinical-meteor/env-config-debug
- Owner: clinical-meteor
- Created: 2016-01-30T05:54:33.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-30T06:05:36.000Z (almost 9 years ago)
- Last Synced: 2024-10-29T16:57:02.600Z (3 months ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## clinical:env-config-debug
Drop in config that will enable DEBUG, TRACE, and TEST environment variables.
========================================
#### Installation``meteor add clinical:env-config-debug``
========================================
#### UsageAdding this package enables the following API in your applicaiton.
````js
if (Env.isDebug) {
// display or log debug info
}
if (Env.isTrace) {
// display or log trace info
}
if (Env.isDevelopment) {
// display development feature
}
if (Env.isTesting) {
// display testing feature
}
````========================================
#### Licensing![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)