1.0.2 • Published 4 years ago

exportmongodatabase v1.0.2

Weekly downloads
2
License
ISC
Repository
github
Last release
4 years ago

exportmongodatabase

Installation

npm i exportmongodatabase

Usage

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.