Skip to content

jstransformers/jstransformer-es6-template-strings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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