htmlbarsify

0.0.1 • Public • Published

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

/htmlbarsify/

    Package Sidebar

    Install

    npm i htmlbarsify

    Weekly Downloads

    2

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • oscarferrandiz