debug-app
v1.0.0
Published
debug module with a default namespace consisting of the application name and current filename.
Downloads
6
Readme
debug-app
debug with a default namespace consisting of the <application name>:<current filename>.
Example
Instead of doing:
var debug = require('debug')('myApp:file');
..use debug-app
instead:
var debug = require('debug-app')();
The result is identical, but you won't have to type the app name and the filename over and over again. This is also future-proof in case your app name / filename change.