0.2.0 • Published 9 years ago

jstransformer-jst v0.2.0

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

jstransformer-jst The MIT License

jst support for JSTransformers

travis build status coverage status dependency status npmjs.com

Install

npm install jstransformer-jst --save

Usage

For more use-cases see the tests in test folder or see the JSTransformer API for more details.

var jst = require('jstransformer')(require('jstransformer-jst'));

var render = jst.compile('Hello {{ name }}').fn;
render({name: 'world'}) //=> 'Hello world'

jst.render('Hello {{ name }}', {name: 'world'}).body
//=> 'Hello world'

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

License

The MIT License

0.2.0

9 years ago

0.1.0

9 years ago

0.0.1

9 years ago

0.0.0

9 years ago