MongoDB Pipeline Builder

JSON →
library 5.0.1 ·javascript
verified Jun 5, 2026

A type-safe, fluent TypeScript library for constructing MongoDB aggregation pipelines. Version 5.0.1 supports all MongoDB aggregation stages and operators, works with the native MongoDB driver, MongoDB Database Commands, and Mongoose. It provides a modular design with helpers for common operations like pagination and projection, automatic validation of pipeline stages, and full TypeScript generics for typed responses. Compared to raw aggregation pipelines, it improves readability and maintainability while reducing errors.