hbsify

1.0.1 • Public • Published

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' 
}

Package Sidebar

Install

npm i hbsify

Weekly Downloads

30

Version

1.0.1

License

MIT

Last publish

Collaborators

  • toastynerd