Skip to content
This repository was archived by the owner on May 16, 2020. It is now read-only.
This repository was archived by the owner on May 16, 2020. It is now read-only.

Support streams as input#6

Description

@yonahforst

Could you support a readable stream as input? Looking at src/index.ts it seems like it would be trivial, since you're already loading the local file as a stream. I would happily submit a PR but TypeScript is still a mystery to me 馃槄

Having another look at the code, it looks like you need to close the stream and then reopen it. Not sure how you could do that if we pass in the stream as an argument. perhaps it's not necessary to close it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions