mongo-oplog

JSON →
library 2.1.4 ·javascript
verified Jun 5, 2026

Watch MongoDB oplog (replica set operation log) for real-time changes in Node.js. Version 2.1.4 supports Promise/async-await, event-based streaming using eventemitter3, and filtering by namespace (database/collection). Requires MongoDB replica set configuration. Built on the native MongoDB driver. Breaking changes in 2.x dropped old callback API in favor of promises. Differentiators: lightweight, small footprint, backward-compatible callbacks in v2, and strong readability with XO.