A simple Handlebars transform for Browserify. To install run:
npm install hbsify
Much of this code is a simplified version of hbsfy. It doesn't support multiple versions of Handlebars unless you want to manually remove the supplied version 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 use the command:
browserify -t hbsify <input files> > <outputfile>
or specify it in a Gruntfile with grunt-browserify:
browserify: {
options: {
transform: ['hbsify']
},
src: ['all-my-files.js']
dest: 'the-file-i-am-building.js'
}