Skip to content

jstransformers/jstransformer-walrus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jstransformer-walrus

Walrus support for JSTransformers.

Build Status Coverage Status Dependency Status NPM version

Installation

npm install jstransformer-walrus

API

var transform = require('jstransformer')(require('jstransformer-walrus'))
var template = 'Hello {{name}}!';
var data = { name: 'World' };
transform.render(template, data).body
// => 'Hello World!'

License

MIT