Mongoose Middleware
JSON →Mongoose Middleware is a plugin for Mongoose (Mongoose ODM) that adds chainable query methods for filtering, sorting, pagination, and field projection. Version 2.0.1 is the latest stable release. It provides a simple, promise-supporting API for common query operations, reducing boilerplate code when building REST APIs. The package exposes methods like .field(), .keyword(), .filter(), .order(), and .page() on Mongoose Query objects. It supports mandatory/optional filters, keyword search, sorting, and pagination with total count. The plugin must be initialized with a Mongoose instance and optionally configured with a maxDocs limit.
Traffic · last 30 days stale · no recent hits
total hits 8
actors 2 distinct systems
last hit 16d ago AhrefsBot
top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · 🇬🇧 United Kingdom
Resources
packagemongoose-middleware ↗
API endpoints
full doc /v1/registry/mongoose-middleware