Ostrzy/nestjs-packages

A collection of NestJS packages.

โ˜… 0Forks 0GitHub โ†—Compare

README

@proventuslabs/nestjs

A collection of high-quality NestJS packages and utilities developed by ProventusLabs to enhance the NestJS ecosystem with modern development practices and type safety.

โœจ Overview

This monorepo contains specialized NestJS packages designed to solve common challenges in modern web application development. Each package follows best practices for type safety, performance, and developer experience.

๐Ÿ“ฆ Packages

A collection of NestJS modules to integrate Zod v4 into your application with enhanced configuration management and type safety.

Features:

  • ๐Ÿ”ง Zod-powered Configuration: Type-safe configuration management using Zod v4 schemas
  • ๐ŸŒ Environment Variable Support: Automatic parsing and validation of environment variables
  • ๐Ÿ“ Configuration Files: Support for YAML configuration files
  • ๐Ÿ—๏ธ Configurable Modules: Enhanced NestJS configurable modules with Zod validation
  • ๐ŸŽฏ Type Safety: Full TypeScript support with automatic type inference
  • ๐Ÿ”„ Merge Strategy: Environment variables override configuration file values
  • ๐Ÿ“ Descriptive Errors: Enhanced error messages with schema descriptions
  • ๐Ÿ”’ Whitelist Support: Allow specific environment variables to bypass namespace restrictions

Installation:

npm install @proventuslabs/nestjs-zod

A lightweight and efficient NestJS package for handling multipart form data and file uploads with RxJS streaming support and type safety.

Features:

  • ๐Ÿ”„ RxJS Streaming: Process files/fields as they arrive
  • ๐ŸŽฏ Type-Safe: Full TypeScript support with MultipartFileStream and MultipartFileBuffer
  • ๐Ÿ”ง Composable Operators: Reusable operators for filtering, validation, and transformation
  • ๐Ÿ›ก๏ธ Pattern Matching: Support for exact matches and "starts with" patterns (^prefix_)
  • ๐Ÿšจ Error Handling: Built-in validation with proper HTTP status codes

Installation:

npm install @proventuslabs/nestjs-multipart-form

๐Ÿ› ๏ธ Development

Prerequisites

  • Node.js >= 20.0.0
  • npm >= 10.0.0

Setup

# Clone the repository
git clone https://github.com/proventuslabs/nestjs.git
cd nestjs

# Install dependencies
npm install

# Build all packages
npm run build

Available Scripts

  • npm run build - Build all packages
  • npm run test - Run tests across all packages
  • npm run lint - Lint all packages using Biome
  • npm run format - Format code using Biome

Contributing

We welcome contributions! Please see our Contributing Guidelines for details.

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿค Support

๐Ÿ”— Links

Contributors

vabattagithub-actions[bot]

Issues