1.0.0 • Published 9 years ago

debug-ext v1.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

debug-ext

An extension to debug module

At this point just Node.js environment is supported.

Updates debug utility with following functionalities:

  • Removes obligatory milliseconds diff information
  • Assures that one namespace in all cases is output with same color
  • Provides simple progress bar functionality for long-taking tasks:
var debug = require('debug-ext')('ns');
debug.open("Parse data");
..
debug.progress(); // increment progress
...
debug.close(); // Mark task as done

Build Status