This package has been deprecated

Author message:

Deprecated

hoganjs-brunch

1.2.0 • Public • Published

hoganjs-brunch

Adds Hogan.js support to Brunch.

Installation

npm install --save-dev hoganjs-brunch

Or add "hoganjs-brunch": "x.y.z" to package.json of your brunch app. Pick a plugin version that corresponds to your minor (y) Brunch version.

If you want to use git version of plugin, add "hoganjs-brunch": "git@github.com:mdp/hoganjs-brunch.git".

Usage:

Create a Mustache template:

I live in {{name}}

Require the template:

const template = require('views/templates/city');

Render the template with some data:

document.body.innerHTML = template.render({'name': 'San Francisco'});

Readme

Keywords

none

Package Sidebar

Install

npm i hoganjs-brunch

Weekly Downloads

1

Version

1.2.0

License

none

Last publish

Collaborators

  • paulmillr