Skip to content

Script to export all collections from a MongoDB database to a .json file.

Notifications You must be signed in to change notification settings

rafaelscariot/mongodb-to-json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MongoDBToJson

Script to export all collections from a MongoDB database to a .json file.

Running the script

$ npm install
$ npm start

Tips

  • The documents.json file will be created in the root directory with all the collections of your database
  • In config.js change the values for your scenario

About

Script to export all collections from a MongoDB database to a .json file.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published