mirror of
https://git.mirrors.martin98.com/https://github.com/actions/setup-python
synced 2025-12-17 19:09:50 +08:00
11 lines
263 B
Markdown
11 lines
263 B
Markdown
tmpl [](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')
|
|
```
|