node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »

tmpl

tmpl Build Status

Simple string formatting using {}.

assert.equal(
  tmpl('the answer is {answer}', { answer: 42 }),
  'the answer is 42')