uni-ticket-system/node_modules/tmpl/readme.md
2023-12-05 10:11:10 +08:00

263 B

tmpl Build Status

Simple string formatting using {}.

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