Back to Explore

martianboy/postgres-range

GitHub
1 watchersOpen source

Last release:

A Node.js package that parses and serializes PostgreSQL range types, turning Postgres range strings into Range objects and back. Useful when you need to read, work with, and convert PostgreSQL range columns in JavaScript, including support for bounds and containment checks.

Project status

  • Maintenance status: Not actively maintained as of today (2026-06-09). The most recent upstream push was 2024-07-17, and the latest documented update (v1.1.4) was 2024-01-29, leaving a long gap since then.
  • Update cadence: Updates appear sporadic, with releases roughly in 2021 (v1.0.0), 2022 (v1.1.2 to v1.1.3), and 2024 (v1.1.4), followed by no recent updates in 2025-2026.

AI summary generated

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

Recent updates

  • v1.1.4

    v1.1.4 primarily documents a new Range.toPostgres() helper and a TypeScript typing fix. However, the actual code diff shows more substantial behavioral and API-shape changes around Range.containsPoint/containsRange and how bounds are compared, plus parser behavior improvements not mentioned in the release notes.

    Features
  • v1.1.3

    Release v1.1.3 contains a small code change (3 files modified) with no release notes provided by the publisher. The primary functional change is inside index.js, where serializeBound now coerces non-string inputs instead of assuming a string.

  • v1.1.2

    Release v1.1.2 was published, but no release notes were provided by the publisher. As a result, no specific changes, fixes, or upgrade requirements can be confirmed from the release notes alone.

  • v1.0.0

    Release v1.0.0 was published on 2021-03-11. No release notes were provided, so there is no information available about new features, fixes, or potential breaking changes.