sprintf-js is a complete open source JavaScript sprintf implementation for the browser and Node.js. Note: as of v1.1.1 you might need some polyfills for older environments. See Support section below. Usage var sprintf = require('sprintf-js').sprintf, vsprintf = require('sprintf-js').vsprintf sprintf('%2$s %3$s a %1$s', 'cracker', 'Polly', 'wants') vsprintf('The first 4 letters of the english alpha
{{#tags}}- {{label}}
{{/tags}}