API for programmatically managing local MongoDB instances, replicasets, and sharded clusters. v2.1.0 (current stable) last updated 2018, low maintenance. Supports Node >=4. Provides programmatic control over mongod/mongos processes, discovery, startup, stop, purge, and replica set reconfiguration. Differentiator: offers a higher-level abstraction than shell scripts or manual process management. Highly niche; mostly used in test harnesses before mongodb-memory-server.
npm install mongodb-topology-managerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to start and stop a single MongoDB instance using Server class.
Migrate to mongodb-memory-server or use Docker containers.
Install MongoDB separately or use mongodb-memory-server which downloads binaries automatically.
Always call discover() before start() or purge().
Use carefully; only call purge() when you intend to delete all data.
Ensure you use: const server = new Server(...);
Run 'npm install mongodb-topology-manager' and verify import.
Install MongoDB server and ensure mongod is in your system PATH.
No dependency data recorded yet.