install-nix-action/node_modules/tmpl/readme.md
Domen Kožar 70742d22d9
v6
2019-11-19 17:50:30 +01:00

11 lines
263 B
Markdown

tmpl [![Build Status](https://secure.travis-ci.org/nshah/nodejs-tmpl.png)](http://travis-ci.org/nshah/nodejs-tmpl)
====
Simple string formatting using `{}`.
```javascript
assert.equal(
tmpl('the answer is {answer}', { answer: 42 }),
'the answer is 42')
```