{"library":"mongodb-snapshot","type":"library","category":null,"description":"mongodb-snapshot (v1.4.1) is a TypeScript-first library for dumping and restoring MongoDB databases between various data sources, including local files and other MongoDB instances. It provides a streaming, promise-based transfer mechanism using duplex connectors, with support for progress tracking via async iterators. The package is actively maintained on GitHub with monthly releases, and ships its own TypeScript definitions. Compared to mongodump/mongorestore, it offers programmatic control and in-process streaming without shell commands, and supports multi-target transfers (fan-out) efficiently. All operations require MongoDB instance access and local filesystem write permissions.","language":"javascript","status":"active","version":"1.4.1","tags":["javascript","typescript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install mongodb-snapshot","imports":["import { MongoTransferer } from 'mongodb-snapshot'","import { MongoDBDuplexConnector } from 'mongodb-snapshot'","import { LocalFileSystemDuplexConnector } from 'mongodb-snapshot'"]},{"cmd":"yarn add mongodb-snapshot","imports":[]},{"cmd":"pnpm add mongodb-snapshot","imports":[]}],"homepage":"https://github.com/lihaibh/mongodb-snapshot#readme","github":"https://github.com/lihaibh/mongodb-snapshot","docs":null,"changelog":null,"pypi":null,"npm":"mongodb-snapshot","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}