manages handlebars templates for web sites that serve pages via ExpressJS


The hbs-precompiler manages handlebars templates for web sites that serve pages via ExpressJS. Hbs-precompiler precompiles handlebars templates into a single javascript file when express runs and continues to watch the template files for changes. When a template is changed, the templates are re-pre-compiled.

var Precompiler = require('hbs-precompiler');

var hbsPrecompiler = new Precompiler({
  in: '/path/with/templates',
  out: '/path/to/output.js',
  minify: true,
  watch: true





  • wrap-legacy-hbs-plugin-if-needed

    undefined wraplegacyhbspluginifneeded Build Status(https://github.com/stefanpenner/wraplegacyhbsp...

    2 个月前
  • templatizer-hbs

    Templatize for ampersand.js for those on handlebars templatizerhbs =============== Simple solution ...

    9 个月前
  • jade-precompiler

    comile a folder of jade template to javascript code text so you can insert them to jade template lat...

    9 个月前
  • hbsfy

    Handlebars precompiler plugin for Browserify v2 Build Status(https://travisci.org/epeli/nodehbsfy.p...

    1 年前
  • hbs-utils

    A set of helpers and utility functions useful when using hbs in an express app. hbsutils Helpe...

    10 个月前
  • hbs-cjs-compiler

    Super fast handlebars compiler for building node.jsfriendly CommonJS modules Handlebars CommonJS Co...

    10 个月前
  • hbs

    Express.js template engine plugin for Handlebars hbs NPM Versionnpmversionimagenpmurl NPM Downloa...

    1 年前
  • handlebars-precompiler

    Handlebars precompiler node module handlebarsprecompiler CDN by jsDelivr A free, fast,...

    8 个月前
  • express-hbs

    Express handlebars template engine complete with multiple layouts, partials and blocks. expresshbs...

    10 个月前
  • ember-handlebars-precompiler

    Ember.js Handlebars precompiler node module Precompile Ember.js Template directories This is how ...

    8 个月前


扫码加入 JavaScript 社区