Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support fs.createReadStream? #45

Open
unframework opened this issue May 17, 2015 · 2 comments
Open

Support fs.createReadStream? #45

unframework opened this issue May 17, 2015 · 2 comments

Comments

@unframework
Copy link

A module I'm using (parse-obj by @mikolalysenko) expects an incoming data stream, which I am loading from a static asset using brfs. But since there is no direct support for createReadStream I have been needing to add a simple Readable wrapper on top of readFile. It's not a huge problem, but I wonder if that boilerplate can be baked into brfs itself... I can do a quick PR if there are no design/scope issues with that.

@allouis
Copy link

allouis commented Feb 29, 2016

👍 This functionality would be really useful.

@substack Would you accept a PR for this?

@goto-bus-stop
Copy link
Member

this seems cool, PR welcome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants