Awesome
jstransformer-j140
j140 support for JSTransformers
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.