Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

cool-log

myyrakle22MIT1.0.2TypeScript support: included

simple pretty log function

pretty, pretty-format, log

readme

cool-log

GitHub license

#

It can be installed as follows:

npm install --save cool-log

#

And you can use it like this:
Format the value internally and print it to console.log.

const pr = require("cool-log");
pr("Foo");
pr({bar:1, boom:2});