Skip to content
forked from bo01ean/ndebug

A wrapper to node-debug with line numbers and other magic

License

Notifications You must be signed in to change notification settings

useafterfree/ndebug

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

boolean-debug

A wrapper to node-debug with line numbers and other magic

Install

yarn add bo01ean/ndebug

usage

Require the library with it's name-space passed to it's constructor.


const debug = require('ndebug')('info');
debug('hai!');

Run node with DEBUG set to name-space;

DEBUG=info node index.js # OR
DEBUG=info node -e "const debug = require('ndebug')('info'); debug('hai\!');"

:)

About

A wrapper to node-debug with line numbers and other magic

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%