Nostradamus Prophecy Machine
Miss any of our Open RFC calls?Watch the recordings here! »

jstransformer-handlebars

1.1.0 • Public • Published

jstransformer-handlebars

Handlebars.js support for JSTransformers.

Build Status Coverage Status Dependency Status Greenkeeper badge NPM version

Installation

npm install jstransformer-handlebars

API

var handlebars = require('jstransformer')(require('jstransformer-handlebars'));
 
var locals = {
  name: "World"
};
 
handlebars.render('<h1>Hello {{name}}!</h1>', {}, locals).body
//=> '<h1>Hello World!</h1>'

License

MIT

Install

npm i jstransformer-handlebars

DownloadsWeekly Downloads

5,327

Version

1.1.0

License

MIT

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar