npm install promise-blob-store
var fs = require('promise-blob-store')
var blobs = fs('some-directory')
var ws = blobs.createWriteStream({
key: 'some/path/file.txt'
})
ws.write('hello world\n')
ws.end(function() {
var rs = blobs.createReadStream({
key: 'some/path/file.txt'
})
rs.pipe(process.stdout)
})
MIT