prisma-paginate-extension

JSON →
library 0.2.1 ·javascript
verified Jun 4, 2026

A pagination extension for Prisma ORM that adds a convenient `paginate()` method to Prisma client instances. Version 0.2.1, released in 2023, with weekly updates. It integrates via Prisma's `$extends` API (≥4.9.0), supports both combined and separate arguments, works with raw SQL via a `Pagination` utility, and returns `result`, `totalPages`, `hasNextPage`, `hasPrevPage`, and `count`. Unlike wrapper libraries, it uses the official extension mechanism, making it compatible with future Prisma versions and TypeScript types.