Package
sql.js
SQLite library with support for opening and writing databases, prepared statements, and more. This SQLite library is in pure javascript (compiled with emscripten).
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 1.9m
- +1666% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 1 month ago
- v1.14.2
- GitHub stars
- 13.7k
- 1.1k forks
- Open issues / PRs
- 127 / 17
- Contributors
- -
- Commits, last 52 weeks
- 11
Downloads
Last week 2026-09-15 to 2026-09-21
1,925,327 downloads last week, 9,253,269 in the last month. The 12-month change of +1666% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 345 in total
- Latest version
- 1.14.2, 14 Aug 20261 month ago
- First published
- 24 May 2014
- Last push to GitHub
- 14 Aug 202641 days before the snapshot
- Repository archived
- No
- Open issues
- 127
- Open pull requests
- 17
- Commits, last 52 weeks
- 11
- Dependents on npm
- 1,225
Major versions
- v1 first release 1.0.0, 29 Apr 2019
- v0 first release 0.1.1, 24 May 2014
Recent releases
| Version | Published |
|---|---|
| 1.14.2 | 14 Aug 2026 |
| 1.14.1 | 4 Mar 2026 |
| 1.14.0 | 12 Feb 2026 |
| 1.13.0 | 15 Mar 2025 |
| 1.12.0 | 29 Oct 2024 |
| 1.11.0 | 30 Jul 2024 |
| 1.10.3 | 14 Apr 2024 |
| 1.10.2 | 20 Jan 2024 |
| 1.10.1 | 16 Jan 2024 |
| 1.9.0 | 28 Nov 2023 |
| 1.8.0 | 8 Sept 2022 |
| 1.7.0 | 1 Jun 2022 |
| 1.6.2 | 30 Sept 2021 |
| 1.6.1 | 12 Aug 2021 |
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 23.0 MB
- Dependencies (0)
- None
npm install sql.jsCDN
jsDelivr: 2.1m requests in 30 days
- jsDelivr
https://cdn.jsdelivr.net/npm/sql.js@1.14.2/ - unpkg
https://unpkg.com/sql.js@1.14.2/ - esm.sh
https://esm.sh/sql.js@1.14.2
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| rtree-sql.js | 45.5k | - | 4 years ago | CommonJS | - |
| @duckdb/duckdb-wasm | 288.5k | - | 3 months ago | ESM + CommonJS | - |
| better-sqlite3 | 7.4m | - | 1 month ago | CommonJS | - |
| better-sqlite3-multiple-ciphers | 49.4k | - | 1 month ago | CommonJS | - |
Indexability: Indexed.