Socket
Book a DemoInstallSign in
Socket

jstransformer-jst

Package Overview
Dependencies
Maintainers
6
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jstransformer-jst

jst support for JSTransformers

latest
Source
npmnpm
Version
0.2.0
Version published
Maintainers
6
Created
Source

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

Keywords

jst

FAQs

Package last updated on 13 Aug 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts