nestia-paginate
v1.0.0
Published
Powerful and lightweight pagination engine for NestJS & Nestia. Generates clean Swagger docs and provides seamless TypeORM integration with nested filtering support.
Readme
Nestia Paginate
A lightweight, strictly typed pagination library for NestJS, specifically designed for the Nestia (Typia) and TypeORM ecosystem.
🌟 Why Nestia Paginate?
Most pagination libraries rely on complex decorators or class-transformers that break Swagger generation in Nestia or lead to the dreaded Unable to render this definition error in OpenAPI.
Nestia Paginate solves this by using pure TypeScript interfaces that Nestia converts into high-performance validators and clean, standard-compliant OpenAPI 3.0/3.1 documentation.
Key Features:
- ✅ Full Nestia Integration: Designed to work seamlessly with
@TypedQuery. - ✅ Deep Filtering: Built-in support for nested relations (e.g.,
user.company.id). - ✅ TypeORM Adapter: Automatically handles
RepositoryorSelectQueryBuildertransformation. - ✅ Strict Validation: Powered by
typiafor lightning-fast runtime validation. - ✅ Global Search: Grouped
ORsearch across multiple columns using TypeORM Brackets.
⚙️ Installation
npm install nestia-paginate
# or
yarn add nestia-paginate📄 License
- This project is licensed under the ISC License. Free for use in commercial projects.
