send
send copied to clipboard
Transform stream from file before sending
See my pull request #69. It would be nice to be able to modify the data from the file stream using transforms. This is helpful when the stored data in the file is a template, encrypted, compressed, etc
Hi! I saw it existed yesterday, but a security issue came to light as well, so I just need to get that wrapped up first.
Hi Doug! Any chance you can have a look at my PR?
This will be accepted, I'm just making the rounds through various projects getting them 0.12 supported; sorry for the delay. In the end, the final version of this will have a slightly different API, but will be able to do exactly what you need and more.
Cool! I'm looking forward to it.
@dougwilson Do you know when this (or equivalent functionality) will be merged?
Hi, I also waiting for this.
I shall use it for render jade and markdown files. I consider than jade, markdown and other similar file types are also "static" files.
I haven't forgotten about this at all, everyone, just feature bumps on these Express dependencies are still tied to the Express release cycle, I'm sorry. Slowly but surely this dependence will be lifted, especially after Express 3.x (and thus Connect 2.x) is dropped in July.
Bump on this. I'd like to transform jsx on request.