Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

fs-blob-store

5.2.1 • Public • Published

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

install

npm i fs-blob-store

Downloadsweekly downloads

1,664

version

5.2.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability