odin-js-fundamentals-part-5/node_modules/tmpl
NetMan 4c89a8ee8c Initial commit 2024-01-11 09:52:05 +01:00
..
lib Initial commit 2024-01-11 09:52:05 +01:00
license Initial commit 2024-01-11 09:52:05 +01:00
package.json Initial commit 2024-01-11 09:52:05 +01:00
readme.md Initial commit 2024-01-11 09:52:05 +01:00

readme.md

tmpl Build Status

Simple string formatting using {}.

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