2.1.0 • Published 4 years ago

debug-package v2.1.0

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

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!');