Skip to content

Latest commit

 

History

History
56 lines (37 loc) · 1.55 KB

README.md

File metadata and controls

56 lines (37 loc) · 1.55 KB

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!