mr4torr / bsontojson

Convert multiple bson files to json files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Convert multiple bson files to json files

NPM Version Made by Mailon Torres License

🚀 Installation

Npm

  • npm install bsontojson

Yarn

  • yarn add bsontojson

🚀 Example of use

const path = require("path");
const bsontojson = require("bsontojson");

const directoryWhereTheBsonFilesAreLocated = path.join(__dirname, "bson");
const directoryWhereTheJsonFilesWillBeGenerated = path.join(__dirname, "json");

BsonToJson.convert(
    directoryWhereTheBsonFilesAreLocated, 
    directoryWhereTheJsonFilesWillBeGenerated
);

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

  • Make a fork;
  • Create a branck with your feature: git checkout -b awesome-feature;
  • Commit changes: git commit -m 'feat: My awesome feature';
  • Make a push to your branch: git push origin awesome-feature.

After merging your receipt request to done, you can delete a branch from yours.

Show your support

Give a ⭐️ if this project helped you!

License

This project is under the MIT license. See the LICENSE for details.


Made with ♥ by Mailon Torres 👋 Get in touch!

About

Convert multiple bson files to json files


Languages

Language:JavaScript 100.0%