Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

SQL.js

SQLite database compiled to JavaScript, run SQL in browser without server.

Databases, ORMs and clientsNPM

GitHubWebsite

1. License

License from npm.

github.com/sql-js/sql.js

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What SQL.js does

SQLite database compiled to JavaScript, run SQL in browser without server.

SQL.js popularity

72 / 100
Gid Score, #324 overall
7.2M
downloads a week, npm
13.7K
GitHub stars
33
agent projects use it
SQL.js: downloads per weeknpm, sql.js 7,202,984
SQL.js: GitHub starssql-js/sql.js 13,690

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How SQL.js is used

  • SQL.js is a dependency in 33 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (0.7% of the 4,867 JavaScript/TypeScript ones), #18 of 120 in databases, orms and clients.
  • Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 164; those are left out of every share on this page.
  • The most used alternative in our scan is better-sqlite3 (151 projects).
  • Projects that use it most often also use Express (42.4%), Ajv (39.4%), c8 (39.4%).
  • It is more common in projects set up for Kiro (6.4%) than for Cursor (0.6%).

By coding agent

26 projects, 0.8%
23 projects, 0.8%
14 projects, 3.0%
14 projects, 0.6%
9 projects, 6.4%
8 projects, 2.3%
8 projects, 1.7%
6 projects, 1.8%

Often used with

In 42.4% of its projects
In 39.4% of its projects
In 39.4% of its projects
In 39.4% of its projects
In 30.3% of its projects
In 30.3% of its projects
In 30.3% of its projects

More about SQL.js

More in Databases, ORMs and clients

Alternatives

SQL.js This page

MITGid 727.2M/wk

better-sqlite3

Fastest and simplest SQLite library for Node.js with synchronous API.

MITGid 7217.4M/wk

PGlite

Run PostgreSQL in the browser or Node.js via WebAssembly with no external dependencies.

Apache-2.0Gid 7444M/wk

sqlite3

Asynchronous, non-blocking SQLite3 database bindings for Node.js.

BSD-3-ClauseGid 582.9M/wk

Compare SQL.js with another tool

Get started

Install it.

npm install sql.js

No step-by-step start for SQL.js yet: we have not written its hand-checked card.