JSPM

debug-ext

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q18530F
  • License MIT

An extension to 'debug' module

Package Exports

  • debug-ext

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (debug-ext) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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