Noodles, Poodles and More!
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

handleify

0.1.2 • Public • Published

Handleify

Browserify 2 + handlebars

Usage / Examples

Browserify API usage:

var browserify = require('browserify')
var handleify = require('handleify')
 
var bundle = browserify()
bundle.transform(handleify)

Clientside code:

var template = require('./views/foo.hbs')
template({
    foo:bar
})

Accessing the Handlebars object in client code:

var Handlebars = require('handleify')
Handlebars.registerHelper( ... )

Commandline Browserify usage (I haven't actually tried this):

$ npm install handleify
$ browserify -t handleify main.js > bundle.js

License

Open source software under the zlib license.

Keywords

none

install

npm i handleify

Downloadsweekly downloads

0

version

0.1.2

license

none

repository

githubgithub

last publish

collaborators

  • avatar