console.group() is an incredibly useful debugging tool:
But it doesn't exist in node.js! It was driving me crazy, so I created this package:
It's a 5 minute job - highly unsophisticated, doesn't even have a test suite, so YMMV. I'm not planning to actively maintain it (though I'll certainly take pull requests). Be warned! If that doesn't put you off, read on for usage instructions.
Installation and usage
npm install console-group
...and use. This overwrites the
console.log method, and adds
;// later, if you want to clean up;