Mongo Collection Cleaner

May 30, 2026

mongo-collection-cleaner is a CLI tool designed to simplify MongoDB database maintenance during development and testing workflows.

Mongo Collection Cleaner Image 1

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
view sourcevisit project