Preparing for system design interviews?  Try bugzed.com →

drop-mongodb-collections

JSON →
library 2.0.0 ·javascript
verified Jun 5, 2026

A utility to drop all non-system collections from a MongoDB database. Version 2.0.0 is stable, with infrequent releases. It is designed specifically for test setup/teardown, accepting a MongoDB URI and returning a cleanup function. Unlike generic drop-database tools, it preserves system collections and integrates easily with Mocha's beforeEach.

total hits 11
actors 3 distinct systems
last hit 16d ago AhrefsBot
ByteDance
4
GPTBot
3
Humans
3

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