node package manager
It’s your turn. Help us improve JavaScript. Take the 2017 JavaScript Ecosystem Survey »



Jade middleware to use with Component's builder.js

What it does

This will automatically register the Jade client side runtime and can be required with require('name/jade.runtime') where name is the name of the root component being built. The jade variable will not be global.

Any Jade templates will automatically be compiled and registered so that they can be required just like any script. The jade.runtime script will be required automatically for each jade template registered.


A lot of the code is from the example here