1
0
mirror of https://github.com/actions/setup-python synced 2024-11-30 21:22:28 +08:00
setup-python/node_modules/tmpl/readme.md

11 lines
263 B
Markdown
Raw Normal View History

2019-06-27 09:12:00 +08:00
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')
```