underscore.template
Extracted template from Underscore, use
_.template
without full underscore source.
Installation
NPM
npm install underscore.template
Bower
bower install underscore.template
Usage
Node.js
var UnderscoreTemplate = ;var template = ; ;// <b>hello world</b> ;// <b><script></b>
Browser
Simply download the latest minified version from the dist/
folder. API is available in a global object called UnderscoreTemplate
.
var template = ; ;// <b>hello world</b>
Testing
npm test
License
MIT, see the LICENSE file for detail.