exportmongodatabase
Installation
npm i exportmongodatabase
Usage
const exportDb = ; exportDb;
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.