mirror of
https://github.com/cachix/install-nix-action.git
synced 2024-11-22 08:30:51 +00:00
10 lines
263 B
Markdown
10 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')
|
|
```
|