Mondex is a CLI tool for creating and managing MongoDB indexes from a configuration file. Version 1.0.1 is the current stable release; it is a small utility with no active release cadence. It provides three commands (pull, plan, apply) to extract existing indexes, preview changes, and apply them. Unlike similar tools, it uses a simple JSON configuration file and integrates directly with the MongoDB shell's createIndex syntax.
npm install mondexNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates the three main commands: pull existing indexes, plan changes, then apply.
Use --uri mongodb://localhost:27017
Validate JSON using a linter before running apply.
Run `npm install -g mondex` or use `npx mondex`.
Ensure the file exists or use --file to point to a valid path.
No dependency data recorded yet.