mongodb-restore-dump
Simple module to restore MongoDB dumps from BSON files.
Installation
npm install --save mongodb-restore-dump
Usage
const restore = uri = 'mongodb://127.0.0.1:27001/'; // restore multi-database dumpawait restore; // restore single databaseawait restore; // restore single collectionawait restore;
Parameters
await restore; await retore; await retore;