Skip to content
JS
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).

v1.14.2, 14 Aug 2026MITCommonJSTypes: NoneDatabase clients and drivers
$ npm install sql.js

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
01m2m3mSept 2025Mar 2026Sept 2026High 2.6m (21 Jul 2026)Low 112.6k (23 Sept 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

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

  1. v1 first release 1.0.0, 29 Apr 2019
  2. v0 first release 0.1.1, 24 May 2014

Recent releases

VersionPublished
1.14.214 Aug 2026
1.14.14 Mar 2026
1.14.012 Feb 2026
1.13.015 Mar 2025
1.12.029 Oct 2024
1.11.030 Jul 2024
1.10.314 Apr 2024
1.10.220 Jan 2024
1.10.116 Jan 2024
1.9.028 Nov 2023
1.8.08 Sept 2022
1.7.01 Jun 2022
1.6.230 Sept 2021
1.6.112 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.js

CDN

jsDelivr: 2.1m requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/sql.js@1.14.2/
  • unpkghttps://unpkg.com/sql.js@1.14.2/
  • esm.shhttps://esm.sh/sql.js@1.14.2
PackageWeekly downloadsGzipLast releaseModuleComparison
rtree-sql.js45.5k-4 years agoCommonJS-
@duckdb/duckdb-wasm288.5k-3 months agoESM + CommonJS-
better-sqlite37.4m-1 month agoCommonJS-
better-sqlite3-multiple-ciphers49.4k-1 month agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.