MongoDB Pipeline Factory

JSON →
library 0.23.2 ·javascript
verified Jun 7, 2026

A lightweight TypeScript-first library (v0.23.2, stable) for declaratively generating MongoDB aggregation pipelines. It provides composable helper functions like project, cond, and gt that reduce boilerplate and improve readability over raw pipeline objects. Compared to writing JSON manually, it offers validation, autocompletion, and integration with Node.js and Mongoose. Released under MIT, with 100% test coverage and weekly updates on npm.