1.0.2 • Published 7 years ago

strong-debug-utils v1.0.2

Weekly downloads
446
License
Artistic-2.0
Repository
-
Last release
7 years ago

strong-debug-utils

Utilities for extending the debug module.

Usage: Create a module to import strong-debug-utils and set your prefix, then import that module and set your suffix as appropriate for your debug statements.

Example:

// debug.js
module.exports = require('strong-debug-utils')('foo');

// bar.js
var debug = require('./debug.js')('bar');

// prints to debug with the 'foo:bar' header
debug('I am in bar!');