hbsify
A simple handlebars template compiler for browserify transforms
Last updated 10 years ago by toastynerd .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install hbsify 
SYNC missed versions from official npm registry.

hbsify

Travis CI Badge

A simple handlebars transfrom for browserify. To install run:

npm install hbsify

Much of this code is a simplified version of hbsfs It doesn't support multiple versions of Handlebars unless you want to manually remove the supplied version of handlebars and add your own. Use the above hbsfy if you need that functionality, it also doesn't support handlebars files that don't end in 'hbs' or 'handlebars' once again the hbsfy package has you covered if you need that functionality.

To use hbsify either specify use the command

browserify -t hbsify <input files> > <outputfile>

or specify it in a gruntfile with grunt-browserify:

browserify: {
  options: {
    transforms: ['hbsify']
  },
  src: ['all-my-files.js']
  dest: 'the-file-i-am-building.js' 
}

Current Tags

  • 1.0.1                                ...           latest (10 years ago)

2 Versions

  • 1.0.1                                ...           10 years ago
  • 1.0.0                                ...           10 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (8)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |