Package
mysql
A node.js driver for mysql. It is written in JavaScript, does not require compiling, and is 100% MIT licensed.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 934.1k
- +14% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 4
- Direct, from package.json
- Last release
- 6 years ago
- v2.18.1
- GitHub stars
- 18.6k
- 2.5k forks
- Open issues / PRs
- 141 / 35
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
934,087 downloads last week. The 12-month change of +14% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 054 in total
- Latest version
- 2.18.1, 23 Jan 20206 years ago
- First published
- 3 Jan 2011
- Last push to GitHub
- 25 Jun 2024821 days before the snapshot
- Repository archived
- No
- Open issues
- 141
- Open pull requests
- 35
- Commits, last 52 weeks
- 0
- Dependents on npm
- -
Major versions
- v2 first release 2.0.0, 9 Jan 2014
- v0 first release 0.1.0, 3 Jan 2011
Recent releases
| Version | Published |
|---|---|
| 2.18.1 | 23 Jan 2020 |
| 2.18.0 | 21 Jan 2020 |
| 2.17.1 | 18 Apr 2019 |
| 2.17.0 | 18 Apr 2019 |
| 2.16.0 | 18 Jul 2018 |
| 2.15.0 | 5 Oct 2017 |
| 2.14.1 | 1 Aug 2017 |
| 2.14.0 | 26 Jul 2017 |
| 2.13.0 | 24 Jan 2017 |
| 2.12.0 | 3 Nov 2016 |
| 2.11.1 | 8 Jun 2016 |
| 2.11.0 | 6 Jun 2016 |
| 2.10.2 | 13 Jan 2016 |
| 2.10.1 | 11 Jan 2016 |
- Module format
- -Not determined from package.json
- TypeScript types
- None
- Node.js engine range
- >= 0.6
- Runtimes
- -
- Unpacked size (npm)
- 470 kB
- Dependencies (4)
sqlstringsafe-bufferbignumber.jsreadable-stream
npm install mysql- jsDelivr
https://cdn.jsdelivr.net/npm/mysql@2.18.1/ - unpkg
https://unpkg.com/mysql@2.18.1/ - esm.sh
https://esm.sh/mysql@2.18.1
Indexability: Indexed.