0.1.0 • Published 8 years ago

express-stubble v0.1.0

Weekly downloads
2
License
BSD-3-Clause
Repository
github
Last release
8 years ago

Stubble for Express

A lightweight Express view engine for rendering Handlebars templates. Supports multiple view directories at the expense of niceties like layouts and partials.


Installation

npm install --save express-stubble

Usage

express.engine('hbs', expressStubble({
  // The Handlebars instance to render the views with
  handlebars: handlebars
}));
express.set('view engine', 'hbs');

To do

  • Support precompilation of templates