Make tar-stream a TransformStream
See original GitHub issueI mentioned this previously, but I’d like to be able to use tar-stream in this manner (or similar):
intar.pipe(tarStream(onentry, onfinish)).pipe(transformedTar)
I made a feeble attempt to get this to work outside of tar stream in dockerify lazy-stream branch, but had only mixed success.
The tests that all passed previously now only pass in node 0.10
.
I hope though this can server as a start to figure out how the above could be achieved.
Issue Analytics
- State:
- Created 9 years ago
- Reactions:4
- Comments:7 (5 by maintainers)
Top Results From Across the Web
TransformStream - Web APIs | MDN
Creates and returns a transform stream object, optionally specifying a transformation object and queuing strategies for the streams. Instance ...
Read more >tar-stream - Bountysource
I'm creating a tool to automatically extract and decode timezone data. It's working well except for a couple of odd cases where my...
Read more >How to write tar stream entry with unknown size?
Instead of using some module, if you just want to create a CSV from DB of an unknown size you can do the...
Read more >Archiver API
See tar-stream documentation for additional properties. ... detaching internal module pipes; ending both sides of the Transform stream.
Read more >compressing - npm.io
const compressing = require('compressing'); const tarStream = new compressing.tar. ... The transform stream to compress a single file.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
yeah, i needed that functionality too, that’s why i made the
tar-vinyl-stream
package, which consumes a tar stream and emitsvinyl
objects for each entry.We should have here two transform objects, one for extract that consume a bytestream and emit
data
with stream objects, and another for pack that consume them and emit a bytestream. This probably would break API compatibility, so this should be a major version.