Skip to content

it's an npm module that helps you export your MongoDB with just one line of code.

License

Notifications You must be signed in to change notification settings

Deep1144/exportmongodatabase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

issue

Report here

About

it's an npm module that helps you export your MongoDB with just one line of code.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published