blob store that stores blobs on the browser's localStorage
npm install local-storage-blob-store
var store = require('local-storage-blob-store')
var blob = store()
blob.createWriteStream({ key: 'cool' }).end('beans', readback)
function readback () {
blob.createReadStream({ key: 'cool' }).on('data', ondata)
function ondata (buf) {
console.log(buf.toString())
}
}
MIT