Open max-mapper opened 10 years ago
remove assumption that a filename will be passed in and a folder will be created + extracted to instead have an abstract interface that requests byte ranges
:+1: This should really be the case regardless of browser support. Requiring an actual file makes it hard to use in cases where you just operate in-memory. Like with gulp.
This seems like it would be a very hard thing to do. There are very many places that assume you are using Node. How good is browserify with things like this?
:+1:
Would love this. Any decent alternatives yet?
it would be sweet to use this client-side, but some things would need to change first:
getBuffer
is doing) but is decoupled fromfs
. that way it can be hooked up to FileReader in the browser.require('fs')
would have to move to separate node-only file from the extraction logic. the extraction logic would be generic so that it can run in the browser or in node