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.
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 forcreateReadStreamI have been needing to add a simpleReadablewrapper on top ofreadFile. It's not a huge problem, but I wonder if that boilerplate can be baked intobrfsitself... I can do a quick PR if there are no design/scope issues with that.