Mongo Collection Cleaner
May 30, 2026mongo-collection-cleaner is a CLI tool designed to simplify MongoDB database maintenance during development and testing workflows.
mongo-collection-cleaner is a CLI tool designed to simplify MongoDB database maintenance during development and testing workflows. It allows users to safely remove multiple collections at once through an interactive terminal experience. The tool supports customizable defaults via a .env file and includes a mandatory final confirmation step to prevent accidental data loss.
Technologies Used
- Node.js (built-in readline)
- MongoDB Node.js Driver