npm.io
0.0.1 • Published 11 years ago

htmlbarsify

Licence
MIT
Version
0.0.1
Deps
3
Vulns
0
Weekly
0

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" });

Keywords