0.9.0 • Published 10 years ago

hgnify v0.9.0

Weekly downloads
1
License
MIT
Repository
github
Last release
10 years ago

Installation

$ npm install hgnify

Usage

example.html

<div>
Hello {{hello}}!!!
</div>

example.js - A browerify module

//Supports '.hgn', '.ms', '.hogan', '.mustache','.html', '.hbs' extensions

var Template  = require('example.html');

var data = {
    hello: "World";
}

var templateHTML = Template(data);