abstract-blob-store defines a de-facto standard streaming file storage/retrieval interface for Node.js, inspired by abstract-leveldown. At version 3.3.5, it provides a reusable test suite and API contract that multiple storage backends (local, S3, Google Cloud, IPFS, Azure, etc.) implement consistently. Key differentiators: enforces a uniform streaming API for createWriteStream/createReadStream/exists/remove operations; ships TypeScript types; decouples implementation from testing via a shared test module. Currently unmaintained since 2019, but widely depended upon across the blob store ecosystem.
npm install abstract-blob-storeNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to implement a custom blob store and run it against the abstract test suite using tape.
Use tape (npm install tape) and run with node test.js instead of jest.
Consider alternatives like abstract-leveldown for new projects, or fork if needed.
Always check the callback for blob metadata rather than relying on stream events.
Upgrade to 3.x or pin to 2.x for Node 8/9 compatibility.
Ensure your store object has createWriteStream method; if using the abstract module, it exports a factory, not a ready-to-use store.
Upgrade to >=3.0.0 and use require('abstract-blob-store/tests') instead of require('abstract-blob-store/test')Define common.setup and common.teardown as functions that take (t, cb) and (t, store, blob, cb) respectively.
Ensure exists passes 'true' or 'false' (as boolean) in the callback: cb(null, true) if blob exists.
No dependency data recorded yet.