1.0.2 • Published 5 years ago
exportmongodatabase v1.0.2
exportmongodatabase
Installation
npm i exportmongodatabaseUsage
const exportDb = require('exportmongodatabase');
exportDb.exportDataBase("mongodb://localhost:27017/PMS");Parameters
DataBase connection url : String
example : "mongodb://localhost:27017/PMS" example : "mongodb://username:password@host:port/dbname"
Other
This will create a folder of database in your project folder name and all the collections will be exported by there name in csv file.