hapi-query-builder
JSON →Hapi.js plugin that automatically parses URL query parameters into MongoDB/Mongoose query objects. Current stable version is 2.2.0, with a release cadence (latest update Oct 2023). It supports pagination, sorting, field selection, search ($q), and conditional operators. Unlike similar libraries, it tightly integrates with Hapi (v21+) and exposes parsed queries directly on `request.parsedQuery`. Requires Node >=18.20.1 and @hapi/hapi >=21.x.x.
Resources
packagehapi-query-builder ↗
API endpoints
full doc /v1/registry/hapi-query-builder