Home

Awesome

jstransformer-es6-template-strings

es6-template-strings support for JSTransformers.

Build Status Coverage Status Dependency Status Greenkeeper badge NPM version

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