0.0.3 • Published 5 years ago

debugjs-wrapper v0.0.3

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

debug-wrapper

debug-wrapper goal is to avoid logging to stderr by default. Usage you can use it

yarn add debugjs-wrapper

in the code:

const {debug, error, info } = require('debugjs-wrapper').all('namespace:subnamespace');

debug('debug'); //goes to stdout
error('error'); //goes to stderr
info('info'); //goes to stdout