Bun provides native MySQL, SQlite, and Postgres drivers.
I'm not saying Node should support every db in existence but the ones I listed are critical infrastructure at this point.
When using Postgres in Node you either rely on the old pg which pulls 13 dependencies[1] or postgres[2] which is much better and has zero deps but mostly depends on a single guy.
Maybe MySQL and Postgres should make official Node libs then. Bun maintaining this is ok too, but it seems odd given that it means having to keep up with new features in those DBMSes.
> but it seems odd given that it means having to keep up with new features in those DBMSes
That would be more useful for the ecosystem than the Node team investing time on a virtual file system.
Node has sqlite, though I have not had any issues using better-sqlite3 and worker processes for long running ops
Until the day it gets pwned by a malicious actor. Which is something we've seen quite a lot of times on npm deps.