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?
TIA1 Reply
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