handlebarsify
Browserify transform for precompiling templates using htmlbars
Installing
npm install htmlbarsify --save
Use
browserify -t handlebarsify source.js > compiled.js
Source.js can include:
var template = require('template.html')
document.body.innerHTML = template({ name: "Korben Dallas" });