PostgreSQL Range Type Parser
JSON →This library provides parsing and serialization capabilities for PostgreSQL's native range data types. It allows developers to convert PostgreSQL range strings (e.g., `[0,5)`) into a rich `Range` object with methods for querying properties like boundedness and inclusivity, and for performing operations such as point and range containment checks. The current stable version is 1.1.4. Releases appear to be driven by feature additions and bug fixes rather than a strict time-based cadence, as indicated by the recent v1.1.4 update addressing type definitions and adding a `toPostgres` method. Its key differentiator is its focused utility on PostgreSQL's specific range string format, providing a dedicated `Range` object API rather than a general-purpose interval library.
Traffic · last 30 days ↓29% vs prev 7d
top countries 🇺🇸 United States · 🇫🇷 France · 🇨🇦 Canada · 🇩🇪 Germany · 🇳🇴 Norway