diff options
Diffstat (limited to 'node_modules/tmpl/readme.md')
-rw-r--r-- | node_modules/tmpl/readme.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/node_modules/tmpl/readme.md b/node_modules/tmpl/readme.md new file mode 100644 index 0000000..61cc2f6 --- /dev/null +++ b/node_modules/tmpl/readme.md @@ -0,0 +1,10 @@ +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') +``` |