Is there any way to access ExpressJs's raw rendering capabilities without access to the 'res' object?
I have several Jade views which I'd like to render into HTML and send over email. There are libraries that do this, but all of them are clunky. Is there no app.render("/directory/file.jade")? I can't seem to find one.
I'm using SailsJs, which is Express based, but if there are any sails specific solutions, they would be just as helpful.
You could just use the jade module directly. Express doesn't really add much on top of the engine, aside from adding res.render(), which you said you didn't want.