Elestia Open Source Ratings
1.9

node-sqlite3

Do not start with it. 10th of 10 database drivers.

node-sqlite3 (npm "sqlite3") is the original async, callback-based SQLite binding for Node.js. Its owner archived the repository on 1 July 2026 and the README marks it deprecated and unmaintained. Do not start a new project with it. Use better-sqlite3 or Node's built-in node:sqlite instead.

Best for: Only existing codebases that already depend on it and need time to migrate to better-sqlite3 or node:sqlite.

GitHubnpm

Scores

Overall1.9

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 1.5, likely 0.5 to 2.5

The project is archived and declared unmaintained, so it falls in the do-not-start band whatever its install count. better-sqlite3, which is maintained, faster and simpler, does the same job better, and Node's built-in node:sqlite is another option. Keep it only while migrating.

GPT-6.2 Sol: 2.3, likely 1.5 to 3.2

The asynchronous API still has value for existing integrations. For new Node.js projects, the archive, missing SQLite fixes, and reported binary failures make better-sqlite3 the stronger choice. The range is narrow because the archive and the peer's continued releases are directly documented.

Needed by many4.6

How many developers need a tool for this job?

Claude Opus 5.5: 5.0, likely 4.0 to 6.0

Embedded SQLite is a common need for local apps, CLIs, tests, Electron apps and small servers, but it is smaller than the Postgres and MySQL audience. The package only targets Node.js, not Bun, Deno or edge runtimes.

  • peers: SQLite drivers form one segment of a category led by Postgres and MySQL drivers
  • Native Node addon: Runs on Node.js only, through N-API bindings

GPT-6.2 Sol: 4.2, likely 3.1 to 5.3

SQLite was used by 42.1% of respondents who answered the database question in the 2026 Stack Overflow survey. This driver serves the narrower group that needs embedded SQLite in Node.js and wants a native, callback-based API. The survey measures SQLite use across languages, so that group's size is uncertain.

Helps a lot4.9

How well does it do the job for those who need it?

Claude Opus 5.5: 4.0, likely 3.0 to 5.0

It still works and offers async queries, prepared statements and row iteration. But better-sqlite3 does the same job faster with a simpler API, and node:sqlite is now built into Node. It has no transaction helpers or modern promise API, and users often hit native install failures.

GPT-6.2 Sol: 5.8, likely 4.6 to 7.0

Version 6.0.1 covers everyday SQLite work with prepared statements, bound parameters, and bundled types. The callback API has easy-to-miss rules, such as requiring a regular function to read the last insert ID through `this`. OpenWA rolled back after the Linux prebuilds failed in its production image. An independent benchmark found slower inserts and lookups than better-sqlite3 on 5.1.7, so the size of the gap on 6.0.1 is uncertain.

Holds up over time0.7

Will it still be a good choice in two years?

Claude Opus 5.5: 0.5, likely 0.0 to 1.5

The owner archived the repository on 1 July 2026, and the README is titled DEPRECATED and says it is unmaintained. It is read-only, so no issue, PR or release can follow. Downstream projects such as Sequelize are already looking for replacements.

GPT-6.2 Sol: 0.8, likely 0.2 to 1.8

Ghost archived the repository on July 1, 2026, after the last npm release in March. The archive makes routine fixes and runtime compatibility updates unlikely. TypeORM 1.0 moved to better-sqlite3, which was still shipping updates in November.

Used widely5.0

How many use it, and is that growing?

Claude Opus 5.5: 4.0, likely 3.0 to 5.5

Downloads are still about 11.9M per 4 weeks, and about 146k repositories depend on it. These are mostly legacy installs and transitive pulls from ORMs. Its year-over-year ratio of about 1.7 is far below the median of 4.1, so it is losing ground fast. better-sqlite3 grew about 6x over the same period.

  • npm downloadsLast4Weeks: 11.9M now vs 7.07M a year ago, a ratio of about 1.68
  • medianDownloadsRatio: Median is 4.1, so it is losing share
  • dependents: 146k repos and 6k packages: a large legacy base
  • peers better-sqlite3: 66M downloads, up from 10.9M

GPT-6.2 Sol: 6.0, likely 4.9 to 7.1

Ecosyste.ms found 146,342 dependent repositories and 6,166 npm packages, a much larger repository footprint than better-sqlite3 in this snapshot. Downloads rose from 7.1 million to 11.9 million over comparable four-week periods. That 1.68× ratio trails the 4.1× catalog median and better-sqlite3's 6.07×, pointing to lost ground. CI and installs through other tools contribute an uncertain share of the total.

  • dependents: 146,342 tracked repositories and 6,166 packages.
  • npm downloadsLast4Weeks: 11.9 million downloads.
  • npm downloadsSame4WeeksYearAgo: 7.1 million downloads.
  • medianDownloadsRatio: Catalog median was 4.1×.
  • peers better-sqlite3: 12,510 tracked repositories and 6.07× download growth.
  • github.com/sequelize/sequelize/blob/main/packages/sqlite3/package.json: Sequelize's v7 SQLite adapter installs sqlite3 as a dependency.
Vouched for3.7

Who stands behind it being good?

Claude Opus 5.5: 2.5, likely 1.5 to 4.0

It once had Mapbox and then Ghost behind it, and ORMs integrated it. Those endorsements are now historical, since its own maintainer has abandoned it. No current independent source recommends it over better-sqlite3, and it had no Hacker News or Bluesky attention in the period.

GPT-6.2 Sol: 4.8, likely 3.6 to 6.0

Sequelize 6 uses sqlite3 as its SQLite connector, and Knex documents it as a supported driver. TypeORM dropped it in 1.0, and OpenWA's production rollback weakens confidence in the latest release. Evidence of successful production use on 6.0.1 is limited.

Safe3.3

How safe is it to depend on?

Claude Opus 5.5: 3.0, likely 2.0 to 4.5

Its two past high-severity advisories (2022 and 2023) were fixed, and none arrived in the last 24 months. But it is a native addon with install scripts that bundles SQLite C code. No future SQLite or binding vulnerability will be patched, and there is no Scorecard data. The BSD-3-Clause licence is permissive.

  • advisories: 2 high-severity advisories, both from 2022-2023, none in the last 24 months
  • scorecard: null: no Scorecard data
  • github archived: No one can ship future security fixes
  • npm dependencies: 4 direct dependencies, plus a native build toolchain

GPT-6.2 Sol: 3.5, likely 2.3 to 4.8

Both known binding advisories had fixes by the time GitHub published them, and the BSD-3-Clause license is permissive. The archived 6.0.1 release still bundles withdrawn SQLite 3.52.0 and lacks later upstream security fixes. Its four direct dependencies include a native binary downloader, and the release docs describe manual npm publishing. The range reflects differences in how apps handle untrusted database files or SQL, along with the missing OpenSSF Scorecard and unverified publisher access.

Good

  • Its fully async callback API keeps queries off the main thread and supports row-by-row iteration with each().
  • The final 6.0.1 release bundles a recent SQLite (3.52.0) and ships prebuilt binaries for Node 20.17 and later.
  • It has a very large installed base: about 146k dependent repositories and many old tutorials and ORM integrations.
  • It uses the permissive BSD-3-Clause licence.

Bad

  • The repository was archived in July 2026 and is marked unmaintained, so no more fixes or releases will come.
  • Its callback API is clunkier and slower than better-sqlite3's synchronous API for most workloads.
  • Native builds through node-gyp have a long history of install failures, and npm warns about stale transitive dependencies.
  • Future Node.js versions or SQLite CVEs will go unaddressed.

The numbers

npm downloads, 4 weeks
12M +68% in a year
GitHub stars
6.4k
Commits, 12 months
21
npm version
6.0.1 Mar 2026
Versions, 12 months
1
Advisories, 24 months
0 of 2 ever
OpenSSF Scorecard
None
Licence
BSD-3-Clause

Read on 21 November 2026 from GitHub (TryGhost/node-sqlite3), npm (sqlite3), OSV and the OpenSSF Scorecard.

Database drivers

  1. 8.7node-postgres
  2. 8.2MongoDB driver
  3. 8.1better-sqlite3
  4. 8.0MySQL2
  5. 7.6PGlite
  6. 7.5Postgres.js
  7. 7.4DuckDB Node Neo
  8. 7.1Neon serverless driver
  9. 5.9libSQL client
  10. 1.9node-sqlite3
Compare all 10 on six scores