Package detail

tmpl

daaku112.9mBSD-3-Clause1.0.5

JavaScript micro templates.

readme

tmpl Build Status

Simple string formatting using {}.

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