log-buddy

0.0.1 • Public • Published

Easy console debugging

It is currently only a partial port of the original ruby version: https://github.com/relevance/log_buddy

Install

npm install log-buddy

Usage

var d = require('log-buddy');

var a = 1
,   b = {a: a}
,   c = 'hello'
,   e = /hel/;

d(a,b,c,e);

prints:

 ====> a:  1
 ====> b:  { a: 1 }
 ====> c:  hello
 ====> e:  /hel/

Limitations

Do :

d(a,b,c);
d(e,f,g);

Don't :

d(a,b,c); d(e,f,g);

Dependents (0)

Package Sidebar

Install

npm i log-buddy

Weekly Downloads

1

Version

0.0.1

License

none

Last publish

Collaborators

  • excsm