1.0.1 • Published 10 years ago
jstransformer-es6-template v1.0.1
jstransformer-es6-template 
es6-template support for JSTransformers
Install
npm install jstransformer-es6-template --saveUsage
For more use-cases see the tests in test folder or see the JSTransformer API for more details.
var es6template = require('jstransformer')(require('jstransformer-es6-template'));
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.