Nimoy Prospers Mystically
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    log-buddypublic

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

    Keywords

    none

    install

    npm i log-buddy

    Downloadslast 7 days

    2

    version

    0.0.1

    license

    none

    repository

    github.com

    last publish

    collaborators

    • avatar