An open API service indexing awesome lists of open source software.

https://github.com/blankeos/mongodb-bson-converter

🌱 A webapp tool for converting bson to an insertOne or insertMany query.
https://github.com/blankeos/mongodb-bson-converter

Last synced: 12 days ago
JSON representation

🌱 A webapp tool for converting bson to an insertOne or insertMany query.

Awesome Lists containing this project

README

          

🍃 MongoDB BSON Converter

A tool I made so I can copy from Atlas and use that as an `insertOne` or `insertMany` query
on **Studio 3T** or **MongoDB Compass Console**. It works fine so far. I have unit tests on a separate repo/account lol.

I basically made a custom json parser that reformats the code into a valid query object
that 3T or Compass Console can use.

Wrote the parser with Bun and the help of its Test Runner.

I plan to rewrite this in Go as well. For now, you can visit the website for this (built with Svelte).

![alt text](docs/image.png)