Files
huishou/node_modules/tmpl
2026-07-27 13:37:48 +08:00
..
2026-07-27 13:37:48 +08:00
2026-07-27 13:37:48 +08:00
2026-07-27 13:37:48 +08:00
2026-07-27 13:37:48 +08:00

tmpl Build Status

Simple string formatting using {}.

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