PostgreSQL implementation of abstract-blob-store, currently at version 3.0.0. This package stores binary files as base64 strings in text columns, not as bytea. It is experimental and designed for server-side Node.js use with PostgreSQL. Works with any abstract-blob-store compatible consumer. Last updated in 2016, no recent releases.
npm install postgres-blob-storeNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Connects to PostgreSQL, reads a file, writes it as a blob, then reads it back to another file.
Switch to a blob store that uses bytea, or accept overhead.
Consider alternatives like node-pg-blob-store or implement using bytea directly.
Wrap in a Promise manually for modern Node.js patterns.
Replace with native Node.js streams (Transform) in your code.
Ensure you pass {url: 'postgresql://...'} or set DATABASE_URL env var.Use const blob = require('postgres-blob-store'); then blob({...}).createWriteStream(...)Run: CREATE TABLE blobs (key text primary key, blob text NOT NULL);