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 shows active maintenance at least as recently as 2025-12-17, with a recent version bump to v1.0.1 and code changes confined to buffer construction in the bytea parser (release notes were not provided).
- Apparent update cadence is irregular, with long gaps between published updates (2019-04-25 for v2.0.0, 2020-06-11 for v3.0.0, and 2025-12-17 for v1.0.1).
AI summary generated Today
Recent updates
v1.0.1
5 months agoNo 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
6/11/2020v3.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.
Featuresv2.0.0
4/25/2019Release 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
6/14/2015No 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.