Convert multiple bson files to json files
🚀 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
License
This project is under the MIT license. See the LICENSE for details.
Made with