{"library":"mongod","type":"library","category":null,"description":"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.","language":"javascript","status":"maintenance","version":"2.0.0","tags":["javascript","mongodb","server","manager"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install mongod","imports":["const Mongod = require('mongod');","const server = new Mongod(27017);"]},{"cmd":"yarn add mongod","imports":[]},{"cmd":"pnpm add mongod","imports":[]}],"homepage":"https://github.com/BrandonZacharie/node-mongod#readme","github":"https://github.com/BrandonZacharie/node-mongod","docs":null,"changelog":null,"pypi":null,"npm":"mongod","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}