Skip to main content

NestJS Toolkit

A comprehensive toolkit for NestJS applications that provides essential utilities and decorators to simplify common development tasks.

Overview

NestJS Toolkit is a collection of packages designed to enhance your NestJS development experience. Each package focuses on a specific area of functionality, providing clean, well-tested, and production-ready solutions.

Available Packages

@globalart/nestjs-swagger

A simple documentation builder for NestJS Swagger module that simplifies creating OpenAPI documentation for your REST APIs.

Key Features:

  • Simple decorator for endpoint documentation
  • Pre-configured descriptions for standard HTTP errors
  • Support for paginated responses
  • Automatic schema generation for DTOs

@globalart/nestjs-typeorm-pagination

A pagination utility for TypeORM that provides easy-to-use decorators and DTOs for implementing pagination in your NestJS applications.

Key Features:

  • Pagination decorators for controllers
  • TypeORM query builder integration
  • Configurable pagination parameters
  • Response DTOs with metadata

Quick Start

Getting Started

  1. Choose your packages - Select the packages that fit your project needs
  2. Install dependencies - Use npm, yarn, or pnpm to install the required packages
  3. Import and use - Import the utilities and start building better NestJS applications
  4. Check documentation - Each package has detailed documentation with examples

Features

  • 🚀 Production Ready - All packages are tested and used in production
  • 📦 Modular Design - Use only what you need
  • 🔧 TypeScript First - Full TypeScript support with proper typing
  • 📚 Well Documented - Comprehensive documentation and examples
  • 🛡️ Maintained - Regular updates and bug fixes

Contributing

We welcome contributions! Please see our contributing guidelines for more information.

License

MIT License - see the LICENSE file for details.