javascript - How do I stream an archive file with Node? -


i'm interested in streaming .zip/.rar/etc archives straight memory, not archiving them on fly via node module like one. kind of stream have transformed? have unzip archive before handing on writable, archives again?

maybe misunderstanding if want stream zipped files, can use readable stream. fs module makes easy create readstreams files.

for example:

     fs.createreadstream('my.zip').pipe(mywritestream); 

Comments

Popular posts from this blog

IF statement in MySQL trigger -

c++ - What does MSC in "// appease MSC" comments mean? -

javascript - Blogger related post gadget image Resize s72-c [ Need Expert Help ] -