You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 16, 2020. It is now read-only.
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?
Could you support a readable stream as input? Looking at
src/index.tsit 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?