Colorize your Node.js console.
Voilà!!
- Install Package:
npm install prettify-console
- Then, import on top of the entry point by
require('prettify-console')
.
And that's it!
You can globally configure how deep you want console.log
to expand an object by setting console.log.depth
attribute.
Default is 2
.