Looking to do output formatting (sprintf type functionality) in node.js, but before I write it myself I was wondering if there\'s something similar built-in (I\'ve trawled the d
There is now printf-like support in util.format().
printf
Example:
util.format('hello %s', 'world'); // Returns: 'hello world'