Npm
- npm install bsontojson
Yarn
- yarn add bsontojson
const path = require("path");
const bsontojson = require("bsontojson");
const directoryWhereTheBsonFilesAreLocated = path.join(__dirname, "bson");
const directoryWhereTheJsonFilesWillBeGenerated = path.join(__dirname, "json");
BsonToJson.convert(
directoryWhereTheBsonFilesAreLocated,
directoryWhereTheJsonFilesWillBeGenerated
);
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.
Give a ⭐️ if this project helped you!
This project is under the MIT license. See the LICENSE for details.
Made with ♥ by Mailon Torres 👋 Get in touch!