Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

skim-blob-store

mafintosh23MIT1.1.0

Blob store that will read from a remote blob store and cache it to a local one

blobs, dat, skim

readme

skim-blob-store

Blob store that will read from a remote blob store and cache it to a local one.

npm install skim-blob-store

build status

blob-store-compatible

Usage

var skim = require('skim-blob-store')

var blobs = skim(localBlobStore, remoteBlobStore)

blobs.createReadStream({key: 'some-key'})
  .pipe(process.stdout)

In the above example if some-key is already in localBlobStore it will just be read from that one. If not it will try and copy it from remoteBlobStore

License

MIT