A streaming MongoDB restore utility for importing data from mongodb-backup or similar dump formats. Current stable version is 1.6.4, released with no active development cadence. It is a fork of hex7c0's mongodb-restore, providing a Node.js API to restore MongoDB collections from a backup directory. Key differentiators: streaming restore (avoids loading entire dataset into memory), supports standard mongodump output format, and targets Node.js >=4. However, the project appears to be in maintenance mode with limited updates.
npm install mongodb-restore-streamingNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to use the default restore function to restore a MongoDB backup from a directory.
Pass `client.db(dbName)` after connecting.
Ensure backup is created with mongodump or compatible tool.
Use `const restore = require('mongodb-restore-streaming')` or `import restore from 'mongodb-restore-streaming'`.