logoalt Hacker News

pier25yesterday at 4:19 PM3 repliesview on HN

The Node team has lost the plot IMO.

By far the most critical issue is the over reliance on third party NPM packages for even fundamental needs like connecting to a database.


Replies

afavouryesterday at 4:21 PM

What would a Node-native database connection layer look like? What other platforms have that?

Databases are third party tech, I don’t think it’s unreasonable to use a third party NPM module to connect to them.

show 3 replies
nulltraceyesterday at 10:34 PM

I publish a package with zero deps and people still pull in a pile of transitive stuff from their lockfile. "pg" has 13 dependencies and nobody even blinks. One gets compromised and suddenly every Node backend using Postgres is in scope. Bun shipping native drivers feels like the right call, fewer moving parts.

show 1 reply
beartyesterday at 4:27 PM

Outside of sqlite, what runtimes natively include database drivers?

show 1 reply