https://github.com/jstransformers/jstransformer-underscore
Underscore template support for JSTransformers
https://github.com/jstransformers/jstransformer-underscore
Last synced: over 1 year ago
JSON representation
Underscore template support for JSTransformers
- Host: GitHub
- URL: https://github.com/jstransformers/jstransformer-underscore
- Owner: jstransformers
- License: mit
- Created: 2015-02-09T14:16:37.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2020-04-26T04:03:11.000Z (about 6 years ago)
- Last Synced: 2025-02-21T22:14:17.417Z (over 1 year ago)
- Language: JavaScript
- Homepage: http://npmjs.com/jstransformer-underscore
- Size: 51.8 KB
- Stars: 1
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- License: LICENSE.md
Awesome Lists containing this project
README
# jstransformer-underscore
[Underscore Template](http://underscorejs.org/#template) support for [JSTransformers](http://github.com/jstransformers/jstransformer).
[](https://travis-ci.org/jstransformers/jstransformer-underscore)
[](https://codecov.io/gh/jstransformers/jstransformer-underscore)
[](http://david-dm.org/jstransformers/jstransformer-underscore)
[](https://www.npmjs.org/package/jstransformer-underscore)
## Installation
npm install jstransformer-underscore
## API
```js
var underscore = require('jstransformer')(require('jstransformer-underscore'))
underscore.render('Hello <%= name %>', { name: "World" }).body
//=> 'Hello World'
```
## License
MIT