fs-blob-store

v2.0.0
Streamable content addressable blob object store that is streams2 and implements the blob store interface on top of the fs module
blob object store content addressable streams2

fs-blob-store

blob store that stores blobs on the local file system

npm install fs-blob-store

build status dat

blob-store-compatible

Usage

var fs = require('fs-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)
})

License

MIT

Metadata

  • MIT
  • Whatever
  • Mathias Buus
  • released 8/12/2014

Downloads

Maintainers