pg-range

JSON →
library 1.1.2 ·javascript maintenance
verified Jun 5, 2026

pg-range version 1.1.2 is a plugin for node-postgres that adds automatic parsing and serialization of PostgreSQL range types (int4range, int8range, numrange, tsrange, tstzrange, daterange). It integrates with the pg library via install method and provides a Range class extending stRange.js for operations like contains, intersects. Released under MIT, last updated in 2016, stable but unmaintained. Differentiator: seamless integration with pg, no need for manual type handlers.