Handlebars

3.0.3 MIT License
5.0/5 1

  486 downloads

A minimal JavaScript semantic template engine, simplifying the way developers build and assemble Mustache templates in Web apps

description

download

specs

changelog

Designed as an extension to Mustache, Handlebars provides additional features, to bring more control to the templating engine.

If you have older Mustache JS templates, don't worry, your work was not for nothing, Handlebars coming with support for all pre-existing Mustache templates.

You can also use Handlebars without Mustache as well, being an extension, not a plugin.

Extensive documentation is included in the project's README file.

Differences from Mustache:

Handlebars.js supports an extended expression syntax called paths.
Can pass paths or Strings as parameters.
The ability to define block helpers. Block helpers are functions that can be called from anywhere in the template.
Can register additional templates as partials. Partials can either be String templates or compiled template functions.
read more   
Last updated on April 29th, 2015

#semantic template #template engine #JavaScript library #template #engine #semantic #JavaScript

0 User reviews so far.

SUBMIT