Skip to content

Node module to use the package name as the top level debug scope.

License

Notifications You must be signed in to change notification settings

matthewtole/debug-package

Repository files navigation

debug-package

npm travis license

Node.js module to automatically use the package name as the top level debug scope

Installation

npm install --save debug-package

Usage

If your package name is awesome-package, the following code will log messages under the debug scope of awesome-package:server.

const debug = require('debug-package')('server');
debug('Test debug message!');

About

Node module to use the package name as the top level debug scope.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published