cool-log 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});