jstransformer-jst

0.2.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i jstransformer-jst

Weekly Downloads

2

Version

0.2.0

License

MIT

Last publish

Collaborators

  • stoeffel
  • hemanth
  • timothygu
  • calebeby
  • vanchoy
  • tunnckocore