Use mongodb and hono with workers

I am trying to setup an API with https://hono.dev and MongoDB, but I am getting errors about fs/promises. Is there an alternative package that lets me connect to MongoDB and read/write data? TIA
No description
1 Reply
Avocadio
Avocadio15mo ago
you can use prisma to connect mongodb it requires fs, and you can not use it on runtime api that is why you get this error
Want results from more Discord servers?
Add your server