Database drivers
Connect to a database and send it queries, without an ORM. We rate 10; node-postgres leads with 8.7 out of 10.
The numbers
Read from GitHub, npm and the OSV advisory database on 21 November 2026. Downloads also count build servers and installs by other tools, and they grow for almost every package: for the median project we rate, they are ×4.1 of a year before.
| Project | Downloads, 4 weeks | In a year | GitHub stars | Commits, 12 months | Last npm release | Advisories, 24 months |
|---|---|---|---|---|---|---|
| node-postgres | 390M | ×8.3 | 13k | 114 | Sept 2026 | 0 |
| MongoDB driver | 86M | ×2.7 | 10k | 204 | Nov 2026 | 0 |
| better-sqlite3 | 66M | ×6.1 | 7.6k | 78 | Nov 2026 | 0 |
| MySQL2 | 96M | ×6.3 | 4.4k | 536 | Oct 2026 | 2 |
| PGlite | 162M | ×26 | 16k | 173 | Nov 2026 | 0 |
| Postgres.js | 151M | ×29 | 8.8k | 95 | Nov 2026 | 0 |
| DuckDB Node Neo | 14M | ×34 | 200 | 285 | Nov 2026 | 2 |
| Neon serverless driver | 30M | ×9.6 | 556 | 11 | Nov 2026 | 0 |
| libSQL client | 23M | ×14 | 578 | 34 | Sept 2026 | 0 |
| node-sqlite3 | 12M | +68% | 6.4k | 21 | Mar 2026 | 0 |