Socket
Book a DemoInstallSign in
Socket

hbsify

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hbsify

A simple handlebars template compiler for browserify transforms

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

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

Keywords

handlebars

FAQs

Package last updated on 22 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts