https://github.com/jstransformers/jstransformer-whiskers
Whiskers.js support for JSTransformers.
https://github.com/jstransformers/jstransformer-whiskers
Last synced: 9 months ago
JSON representation
Whiskers.js support for JSTransformers.
- Host: GitHub
- URL: https://github.com/jstransformers/jstransformer-whiskers
- Owner: jstransformers
- License: mit
- Created: 2015-04-10T12:40:13.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2020-04-26T04:01:01.000Z (about 6 years ago)
- Last Synced: 2025-01-21T20:15:50.481Z (over 1 year ago)
- Language: JavaScript
- Homepage: http://npm.im/jstransformer-whiskers
- Size: 53.7 KB
- Stars: 0
- 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-whiskers
[Whiskers.js](https://github.com/gsf/whiskers.js) support for [JSTransformers](http://github.com/jstransformers).
[](https://travis-ci.org/jstransformers/jstransformer-whiskers)
[](https://codecov.io/gh/jstransformers/jstransformer-whiskers)
[](http://david-dm.org/jstransformers/jstransformer-whiskers)
[](https://www.npmjs.org/package/jstransformer-whiskers)
## Installation
npm install jstransformer-whiskers
## API
```js
var whiskers = require('jstransformer')(require('jstransformer-whiskers'));
var template = "Hello {name}!"
var locals = { name: "World" }
whiskers.render(template, locals).body
//=> 'Hello World!'
```
## License
MIT