A JavaScript npm package that parses PostgreSQL array column values given as a string, returning a JavaScript array. Useful for converting Postgres array literals like `{1,2,3}` into native arrays, with an optional transform function to process non-null elements.
Project status
- Active maintenance: The most recent upstream activity and updates are dated 2025-03-06, with the next known update at 2023-02-08. Given the ~15 month gap from today (2026-06-09), the project appears quiet or in maintenance mode, not actively maintained.
- Update cadence: After a longer quiet period, there were rapid updates in March 2025 (v3.0.3 and v3.0.4, about a day apart), following the prior update in 2023. Earlier history shows multi-year gaps, indicating an irregular release pattern.
AI summary generated
Recent updates
v3.0.4
Release v3.0.4 contains a small change to the postgres array parsing logic in index.js. No release notes were provided, and the code diff indicates a behavioral change in how certain malformed inputs are handled, plus an internal refactor of string parsing for quoted array elements.
v3.0.3
Release v3.0.3 includes no published release notes. The code changes are centered on a substantial rewrite of the PostgreSQL array parser in index.js, plus test/benchmark updates.
v3.0.2
Release v3.0.2 was published on 2023-02-08. The publisher did not provide any release notes, so the specific changes, potential breaking impacts, or fixes cannot be determined from the available information.
v3.0.1
Release v3.0.1 has no published release notes. The code diff shows only small internal refactors in the parser implementation (switching var to const/let) plus a devDependency bump for the StandardJS linter.
v3.0.0
This release (v3.0.0) primarily modernizes the project tooling and supported Node.js versions. There are no release notes provided, so the only “what changed” comes from the repo diff, which includes CI updates, engine requirement changes, and dev dependency bumps.
Breakingv2.0.0
v2.0.0 refactors the internal array parser implementation and adds support for PostgreSQL array subscript/slice prefixes (for example, "[0:2]={1,2,3}"). The release notes section is empty, so consumers must rely on the actual code changes to understand what changed. Overall, the public API appears to remain the same (exports.parse), but environment requirements were tightened.
Featuresv1.0.3
v1.0.3 primarily adds TypeScript type definitions for the library. The runtime code appears unchanged, with the diff limited to adding index.d.ts and updating package.json metadata to publish and expose those types.
Featuresv1.0.2
Release v1.0.2 contains a small but behavior-changing update to postgres array parsing. The diff removes special handling for boolean literals in the parser and adjusts the test suite accordingly, but no release notes were provided.
Breakingv1.0.1
The release v1.0.1 contains no documented changes because the publisher provided no release notes. The only actual code diff is a package.json version bump, from 0.0.0 to 1.0.1.
v0.0.1
This release is version v0.0.1, published on 2016-12-09. No release notes were provided, so there is no documented information about new features, fixes, breaking changes, security updates, performance improvements, or migration steps.