Just the runtime part of jade. If you compile jade templates at development time and then deploy the compiled source, you probably only need this module as a runtime dependency. This is a huge win for download size.
npm install runtime-jade
Merge two attributes objects (
b) giving precedence to values in the second (
b) then return the first (
Classes are special cased by being merged, rather than replaced, if they occur in both objects.
Render the given attributes object to a string of html. Escaped should contain a map of property names onto
true if they need escaping or
false if they do not need escaping.
Escape the given string and return an HTML safe string.
rethrow(err, filename, lineno, [source])
Attempt to add as much information as possible to an error message, before re-throwing it.