urltomarkdown/node_modules/tmpl/readme.md

263 B
Executable File

tmpl Build Status

Simple string formatting using {}.

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