send icon indicating copy to clipboard operation
send copied to clipboard

Transform stream from file before sending

Open peterbartels opened this issue 10 years ago • 8 comments

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

peterbartels avatar Jan 20 '15 10:01 peterbartels

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.

dougwilson avatar Jan 20 '15 14:01 dougwilson

Hi Doug! Any chance you can have a look at my PR?

peterbartels avatar Feb 19 '15 16:02 peterbartels

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.

dougwilson avatar Feb 19 '15 17:02 dougwilson

Cool! I'm looking forward to it.

peterbartels avatar Feb 19 '15 17:02 peterbartels

@dougwilson Do you know when this (or equivalent functionality) will be merged?

agubler avatar Apr 09 '15 15:04 agubler

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.

emilioplatzer avatar Apr 18 '15 19:04 emilioplatzer

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.

dougwilson avatar May 12 '15 03:05 dougwilson

Bump on this. I'd like to transform jsx on request.

alexpineda avatar Mar 03 '22 11:03 alexpineda