Is there a simple built-in way to output formatted data to console in Node.js?
Indent, align field to left or right, add leading zeros?
You might also like string-kit and terminal-kit.
https://www.npmjs.com/package/string-kit
https://www.npmjs.com/package/terminal-kit
https://blog.soulserv.net/terminal-friendly-application-with-node-js-part-ii-moving-and-editing/