Skip to content

@nestarc/pagination ​

API reference for @nestarc/pagination 0.3.0. Prisma 7 cursor, keyset, and offset pagination with filters, sorting, and Swagger helpers.

Start here ​

Install the documented release with npm install @nestarc/pagination@0.3.0. Follow Installation for peer dependencies and application setup, then read Offset vs cursor pagination for usage decisions and examples.

Choose an import path below to find its exported signatures and types. The root package contains the main application APIs; named subpaths group the additional integrations and utilities. The reference is generated from the published release, with source links pinned to its commit.

Modules ​

  • @nestarc/pagination — Configure PaginationModule, parse route queries with Paginate, and apply paginate or PaginateService to list queries. Includes filter and sort options, cursor results, validation errors, and Swagger decorators.
  • @nestarc/pagination/testing — Use TestPaginationModule and createPaginateQuery to build pagination inputs and Nest test modules without repeating query fixture setup.

Released under the MIT License.