jstransformer-es6-template-strings
v2.0.0
Published
es6-template-strings support for JSTransformers.
Downloads
6
Keywords
Readme
jstransformer-es6-template-strings
es6-template-strings support for JSTransformers.
Installation
npm install jstransformer-es6-template-strings
API
var transform = require('jstransformer')(require('jstransformer-es6-template-strings'));
var template = 'Hello, ${name}!';
transform.render(template, { name: 'World!' } ).body;
//=> 'Hello, World!'
License
MIT