npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

jstransformer-jst

0.2.0

@tunnckocore

npmHomeRepoSnykSocket
Downloads:0
$ npm install jstransformer-jst
DailyWeeklyMonthlyYearly

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