mongod
JSON →A Node.js library to start and stop a local MongoDB server programmatically. Version 2.0.0 provides both callback and Promise APIs, supports configuration of port, binary path, dbpath, storage engine, and config file. Key differentiator: it manages the mongod process lifecycle within Node, emitting events like 'open' and 'closed', and exposes properties to check server state (isRunning, isOpening, isClosing). Release cadence appears irregular; last update was in 2018. Requires a mongod binary accessible via $PATH or explicitly configured.
Resources
packagemongod ↗