random-access-file-reader
A random-access-storage compliant module for reading files in the browser using the FileReader API and browserify.
npm install random-access-file-reader
Usage
var raf =var drop =
You can use this to read files into hyperdrive as well
var hyperdrive =var drive =var files = {}var archive = drive
API
var file = raf(browserFile)
Create a new instance. Accepts a browser file object. The file object has an random-access-storage compliant API interface. Note that it is readonly so writes will fail.
License
MIT