SQL.js
SQLite database compiled to JavaScript, run SQL in browser without server.
3. Used by agents' projects
Dependency in 33 public GitHub projects set up for AI coding agents that we scanned (0.5%).
4. Agent access
Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.
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
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
Often used with
More about SQL.js
More in Databases, ORMs and clients
Alternatives
SQL.js This page
Fastest and simplest SQLite library for Node.js with synchronous API.
Run PostgreSQL in the browser or Node.js via WebAssembly with no external dependencies.
Asynchronous, non-blocking SQLite3 database bindings for Node.js.
Get started
Install it.
npm install sql.jsNo step-by-step start for SQL.js yet: we have not written its hand-checked card.