Skip to content
JS
Package

better-sqlite3

The fastest and simplest library for SQLite in Node.js.

v13.0.3, 5 Aug 2026MITCommonJSTypes: NoneDatabase clients and drivers
$ npm install better-sqlite3

Key numbers

As of 25 Sept 2026
Weekly downloads
7.4m
+356% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
1 month ago
v13.0.3
GitHub stars
7.5k
480 forks
Open issues / PRs
58 / 16
Contributors
-
Commits, last 52 weeks
78

Downloads

Last week 2026-09-15 to 2026-09-21
05m10m15mSept 2025Mar 2026Sept 2026High 10.4m (25 Aug 2026)Low 1.3m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

7,355,311 downloads last week, 37,785,190 in the last month. The 12-month change of +356% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
14159 in total
Latest version
13.0.3, 5 Aug 20261 month ago
First published
7 Sept 2016
Last push to GitHub
10 Aug 202646 days before the snapshot
Repository archived
No
Open issues
58
Open pull requests
16
Commits, last 52 weeks
78
Dependents on npm
10,046

Major versions

  1. v13 first release 13.0.0, 21 Jul 2026
  2. v12 first release 12.0.0, 21 Jun 2025
  3. v11 first release 11.0.0, 31 May 2024
  4. v10 first release 10.0.0, 12 May 2024
  5. v9 first release 9.0.0, 10 Oct 2023
  6. v8 first release 8.0.0, 22 Nov 2022
  7. v7 first release 7.0.0, 25 Apr 2020
  8. v6 first release 6.0.0, 24 Feb 2020
  9. v5 first release 5.0.0, 9 Oct 2018
  10. v4 first release 4.0.0, 29 Aug 2017
  11. v3 first release 3.0.0, 6 Jun 2017
  12. v2 first release 2.0.0, 1 Mar 2017
  13. v1 first release 1.0.0, 13 Sept 2016
  14. v0 first release 0.5.0, 7 Sept 2016

Recent releases

VersionPublished
13.0.35 Aug 2026
13.0.229 Jul 2026
13.0.121 Jul 2026
13.0.021 Jul 2026
12.11.115 Jun 2026
12.10.113 Jun 2026
12.10.012 May 2026
12.9.012 Apr 2026
12.8.014 Mar 2026
12.6.217 Jan 2026
12.6.010 Jan 2026
12.5.029 Nov 2025
12.4.622 Nov 2025
12.4.521 Nov 2025
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=22
Runtimes
-
Unpacked size (npm)
26.0 MB
Dependencies (1)
node-addon-api
npm install better-sqlite3
  • jsDelivrhttps://cdn.jsdelivr.net/npm/better-sqlite3@13.0.3/
  • unpkghttps://unpkg.com/better-sqlite3@13.0.3/
  • esm.shhttps://esm.sh/better-sqlite3@13.0.3
PackageWeekly downloadsGzipLast releaseModuleComparison
@rocicorp/zero-sqlite3105.2k-1 month agoCommonJS-
sql.js1.9m-1 month agoCommonJS-
sqlite31.8m-6 months agoCommonJS-
@vscode/sqlite389.9k-3 months agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.