A simple browserify transform for turning .jade files into template functions

A Simple Browserify Middleware for Jade Templates

Simple Jadeify lets you use Jade with browserify in the simplest way possible:

var template = require("./template.jade");
document.getElementById("my-thing").innerHTML = template({ localVar: "value", anotherOne: "another value" });

Dead simple. When creating your browserify bundle, just add this line:


This will add the Jade runtime to your bundle, so that your templates work without needing to bundle Jade itself. And it will register the .jade extension with Browserify such that requireing any Jade files will give you back a template function.