MongoDB Aggregate Builder
JSON →Version 1.0.2. A TypeScript library for building MongoDB aggregation pipelines using a fluent builder pattern. Supports all major aggregation stages (Match, Group, Lookup, Bucket, etc.), expressions (toString, toDate, first, last, etc.), and custom helpers. Provides an object-oriented API with full type safety and auto-completion, reducing boilerplate and errors compared to raw MongoDB pipeline objects. Actively maintained with frequent releases. Differentiator: strongly typed builder ensures pipeline correctness at compile time.
Resources
packagemongodb-aggregate-builder ↗