1.0.0 • Published 9 years ago

jstransformer-j140 v1.0.0

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

jstransformer-j140 The MIT License

j140 support for JSTransformers

travis build status coverage status dependency status npmjs.com

Install

npm install jstransformer-j140 --save

Usage

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

var es6template = require('jstransformer')(require('jstransformer-j140'));

var locals = {
  place: 'world',
  user: {
    name: 'Charlike'
  }
};

es6template.render('Hello #{place} and #{user.name}!', locals).body
//=> 'Hello world and Charlike!'

Contributing

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

License

The MIT License