mysqljs/mysql
A pure node.js JavaScript Client implementing the MySQL protocol. observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5879
- days_rel: n/a
- days_push: 799
- n_releases_24m: 0
Adoption not part of the score
18616 stars · 2521 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A pure JavaScript Node.js client library implementing the MySQL protocol, providing query execution, connection pooling, transactions, and streaming results without native compilation. It is the widely used 'mysql' npm package, MIT licensed.
Use cases
- connect to a mysql database from node.js
- run sql queries in a nodejs app
- pool mysql connections in an express server
- stream mysql query rows to a file
- execute transactions with mysql in javascript
- insert rows and get the inserted id in node
When to choose
- you need a dependency-free, pure JavaScript MySQL driver for Node.js
- you want mature, battle-tested MySQL connectivity with pooling and streaming
- you cannot compile native addons in your deployment environment
When to avoid
- you need the latest MySQL 8 features or best performance - consider mysql2 instead
- you need promise-based APIs out of the box without wrappers
- you are not using Node.js
Facets
library · maturity maintenance
database-driver database databases backend web-development developer-tools mysql sql connection-pooling pure-javascript npm nodejs javascript
2 sources
- readme: https://github.com/mysqljs/mysql · fetched 2026-08-28 · 1990136df293
- registry_npm: https://registry.npmjs.org/mysql · fetched 2026-08-29 · 97cb0738d453
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mysqljs/mysql | main | 32 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem