Back to Explore

bendrucker/postgres-bytea

GitHub
1 watchersOpen source

Last release:

postgres-bytea is an npm package for decoding and encoding PostgreSQL bytea strings to and from Node.js Buffers. It provides `decode` for converting Postgres bytea formats (hex and escape) into buffers, plus `Decoder` and `Encoder` Transform streams for handling bytea data in COPY FROM and COPY TO contexts.

Project status

  • The repository appears maintained, with a recent upstream push on 2025-12-17 and a follow-up update v1.0.1 on 2025-12-17 (about 6 months before 2026-06-09), indicating it is not fully dormant.
  • Update cadence looks irregular. There were major updates in 2019, a restructuring in 2020, then a long quiet period until late 2025, followed by a small v1.0.1 package/version adjustment.

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v1.0.1

    No release notes were provided for v1.0.1. The code changes are limited to how buffers are constructed inside the bytea parser and a package version bump.

  • v3.0.0

    v3.0.0 restructures the library to expose a dedicated `decode` implementation and adds streaming `Encoder` and `Decoder` Transform classes for Postgres bytea COPY use cases. The release notes section is empty, so the published changes are not documented by the publisher.

    Features
  • v2.0.0

    Release v2.0.0 was published on 2019-04-25, but the publisher provided no release notes. Without documented changes, developers should review the repository diff between the previous version and v2.0.0 to identify potential API, behavior, or dependency changes.

  • v1.0.0

    No release notes were provided for v1.0.0, so the specific changes, fixes, and upgrade considerations are not documented in the publisher materials. Because this is a major version baseline (1.0.0), developers should review the actual code diff and test integration points before upgrading, since compatibility-affecting changes may be undocumented.