Preparing for system design interviews?  Try bugzed.com →

mongo-mask

JSON →
library 1.1.0 ·javascript
verified Jun 5, 2026

Converts a json-mask pattern (e.g., 'id,name,address(city)') into a MongoDB projection object for field inclusion/exclusion. v1.1.0 is the latest stable version; sporadic updates. Key differentiator: enables dynamic projection based on client query parameters, simplifying REST API field filtering for MongoDB queries. No runtime dependencies.

total hits 7
actors 2 distinct systems
last hit 16d ago AhrefsBot
GPTBot
3
Humans
3

top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada