mysql2 3.0.0
fast mysql driver. Implements core protocol, prepared statements, ssl and compression in native JS
mysql2@3.0.0 was published on 2023-01-12. Its manifest declares 9 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >= 8.0.
All mysql2 versions · Permanent reference to 3.0.0 · Latest release
Package specifications
| Version | 3.0.0 |
|---|---|
| License declaration | MIT |
| Published | 2023-01-12T04:51:01.542Z |
| Node.js requirement | >= 8.0 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 9 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 486.45 KiB |
| Published file count | 96 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | index.js |
| Side effects declaration | Not declared |
| Direct advisories | Unknown |
| Resolved graph dependencies | Unknown |
| Repository stars | 4391 |
| Repository forks | 684 |
Install mysql2 3.0.0
npm install mysql2@3.0.0 pnpm add mysql2@3.0.0 yarn add mysql2@3.0.0
Runtime dependencies
- long ^5.2.1
- denque ^2.1.0
- lru-cache ^7.14.1
- seq-queue ^0.0.5
- sqlstring ^2.3.2
- iconv-lite ^0.6.3
- generate-function ^2.3.1
- named-placeholders ^1.1.3
- eslint-config-prettier ^8.5.0
Peer requirements
- None declared
Optional dependencies
- None declared
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Code-Review | 2/10 — Found 5/17 approved changesets -- score normalized to 2 |
|---|---|
| Maintained | 10/10 — 30 commit(s) and 10 issue activity found in the last 90 days -- score normalized to 10 |
| Security-Policy | 10/10 — security policy file detected |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Pinned-Dependencies | 4/10 — dependency not pinned by hash detected -- score normalized to 4 |
| License | 10/10 — license file detected |
| Fuzzing | 0/10 — project is not fuzzed |
| Branch-Protection | 0/10 — branch protection not enabled on development/release branches |
| Packaging | 10/10 — packaging workflow detected |
| SAST | 9/10 — SAST tool detected but not run on all commits |
Evidence and freshness
- https://registry.npmjs.org/mysql2/3.0.0 — retrieved 2026-10-31T21:52:44.816Z
- https://api.deps.dev/v3/projects/github.com%2Fsidorares%2Fnode-mysql2 — retrieved 2026-10-31T18:48:28.857Z