Skip to content

okdistribute/safe-abstract-blob-store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

safe-abstract-blob-store

Safe in-memory blob store

blob-store-compatible

filesystem blob store with atomic writes and high file limits on Windows

This module exposes the same API as abstract-blob-store, but has a _list function for compatibility with safe-fs-blob-store -like modules

Usage

var store = require('safe-abstract-blob-store')
var blobs = store('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

ISC

About

Safe in-memory blob store

Resources

Stars

Watchers

Forks

Packages

No packages published