views:

160

answers:

1

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 docs to no avail) or if someone's already written a module.

Many thanks

+2  A: 

Here is the javascript version of sprintf:

http://phpjs.org/functions/sprintf:522

Sarfraz