postgres-composite
JSON →A lightweight zero-dependency library for parsing and serializing PostgreSQL composite type values as strings. Version 0.3.0 is the current stable release. It provides two functions: parse, which returns an iterable of string or null values from a formatted composite string, and serialize, which produces a composite string from an iterable. The library is ESM- and CJS-compatible, ships TypeScript definitions, and has no runtime dependencies. It is intended for use with the pg client or raw PostgreSQL connections. Minimal API surface with no additional configuration needed.
Resources
packagepostgres-composite ↗
API endpoints
full doc /v1/registry/postgres-composite