brfs
brfs copied to clipboard
Support fs.createReadStream?
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.
:+1: This functionality would be really useful.
@substack Would you accept a PR for this?
this seems cool, PR welcome