exportmongodatabase

1.0.2 • Public • Published

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.

Package Sidebar

Install

npm i exportmongodatabase

Weekly Downloads

1

Version

1.0.2

License

ISC

Unpacked Size

14.3 kB

Total Files

4

Last publish

Collaborators

  • deep1144