{"library":"postgres-bytea","type":"library","category":null,"description":"The `postgres-bytea` library provides robust functionality for parsing and encoding PostgreSQL `bytea` binary strings within Node.js applications. It supports both the modern 'hex' format (prefixed with `\\x`) used in PostgreSQL 9.0 and later, as well as the older 'escape' format from PostgreSQL 8 and earlier, automatically detecting the input format. The current stable version is 3.0.0. While specific release cadence is not explicitly stated, the package appears actively maintained given recent NPM activity. Its key differentiation lies in its dual approach to `bytea` handling: a direct `decode` function for quick conversions and stream-based `Decoder` and `Encoder` classes for handling larger data volumes efficiently, particularly useful with PostgreSQL's `COPY` commands.","language":"javascript","status":"active","version":"3.0.0","tags":["javascript","bytea","postgres","binary","parser"],"install":[{"cmd":"npm install postgres-bytea","imports":["import { decode } from 'postgres-bytea'","import { Decoder } from 'postgres-bytea'","import { Encoder } from 'postgres-bytea'","import bytea from 'postgres-bytea'"]},{"cmd":"yarn add postgres-bytea","imports":[]},{"cmd":"pnpm add postgres-bytea","imports":[]}],"homepage":null,"github":"https://github.com/bendrucker/postgres-bytea","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/postgres-bytea","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/postgres-bytea/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}