Is it possible to create a tarball from ReadableStream?
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 922
- Forks
- 281
- PR merge metrics
- No merged PRs in 30d
Description
I'm wondering that is this possible?
import * as tar from 'tar'
const readableStream = createReadStream('./my-file.txt')
const tarStream = tar.create({
gzip: true,
}, readableStream)
// or
readableStream.pipe(tarStream)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by checking the existing tar.create API and stream-handling examples or tests, then reproduce the ReadableStream and createReadStream snippets from the issue. Done means establishing whether this input is supported and, if not, defining the supported behavior or documenting the limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nodejs
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100