1.0.0 • Published 9 years ago
debug-app v1.0.0
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.
License
1.0.0
9 years ago