amis-rpc-design/node_modules/tmpl
2023-10-07 19:42:30 +08:00
..
lib v1.0.0 2023-10-07 19:42:30 +08:00
license v1.0.0 2023-10-07 19:42:30 +08:00
package.json v1.0.0 2023-10-07 19:42:30 +08:00
readme.md v1.0.0 2023-10-07 19:42:30 +08:00

tmpl Build Status

Simple string formatting using {}.

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