Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.

tmpl Build Status

Simple string formatting using {}.

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