debug-resolve

1.0.1 • Public • Published

debug-resolve

A module to create a string to use with debug from the file's path

npm package

Usage

var debug = require('debug')(require('debug-resolve')(__filename, process.cwd()));

or

var resolver = require('debug-resolve')(__filename, process.cwd());
var debug = require('debug')(resolver);

Package Sidebar

Install

npm i debug-resolve

Weekly Downloads

220

Version

1.0.1

License

ISC

Last publish

Collaborators

  • atasciuc
  • onel0p3z