Enterprise-Grade NestJS Modules
NestStack is a collection of rigorously tested, type-safe NestJS packages built for banking, fintech, and mission-critical applications. Every module follows the same standard: strict types, full coverage, and security-first design.
npm install @neststack/config zodEach package solves a critical infrastructure concern so you can focus on your business logic.
Recursive dot-path types give you auto-completion and compile-time safety for every configuration key. No more string guessing.
Zod schemas validate every value at startup. Invalid configuration fails fast with clear error messages — never at 3 AM in production.
Declare sensitive keys once. They are automatically masked in logs, diagnostics, and admin endpoints. No accidental credential leaks.
Pre-built flat lookup maps deliver instant access. Configuration is read thousands of times — every read is a single Map.get() call.
All configuration is deep-frozen after validation. Accidental mutation throws a TypeError instead of silently corrupting application state.
forRoot(), forRootAsync(), and forFeature() — the same dynamic module patterns you already know. No new paradigms to learn.
Type-safe configuration management with Zod validation, secret masking, O(1) lookups, and deep immutability. The standard way to handle configuration in enterprise NestJS applications.
View documentation →More packages are in development. Each will follow the same enterprise standards.
Install your first NestStack package and have type-safe, validated configuration running in minutes.
Read the Docs