Elestia Open Source Ratings
5.9

libSQL client

Reasonable, with limits. 9th of 10 database drivers.

@libsql/client is Turso's TypeScript driver for libSQL. It talks to SQLite files, remote Turso databases and embedded replicas through one async API on Node, Bun, Deno and edge runtimes. It is still the client for remote Turso and for ORM adapters. But Turso's docs now point new local and sync projects to its Rust-rewrite packages, and maintenance of this repo has slowed.

Best for: Projects that run on Turso Cloud or a libSQL server, or that need one SQLite API across Node, edge and serverless runtimes.

WebsiteGitHubnpm

Scores

Overall5.9

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

Claude Opus 5.5: 5.0, likely 4.0 to 6.0

If you use Turso Cloud or a libSQL server, it is still the client to use, and ORMs support it well. For local SQLite, better-sqlite3 or node:sqlite is faster and safer. For new Turso local or sync projects, Turso itself now points to its new packages. Slower maintenance and open correctness bugs keep it in the middle of the category.

GPT-6.2 Sol: 6.7, likely 5.6 to 7.8

This is a good choice when the database already speaks libSQL, especially if the app needs the same API for local development and remote queries. For a new Node.js app that only needs local SQLite, better-sqlite3 is the stronger peer, and Turso recommends @tursodatabase/serverless for direct access to its newer remote engine. The score depends on the deployment because the local transaction defect and Turso's shift to newer packages matter less for an app connecting to an existing remote libSQL database.

Needed by many4.2

How many developers need a tool for this job?

Claude Opus 5.5: 4.0, likely 3.0 to 5.0

Its users are people on SQLite, libSQL or Turso. That is a real group, but smaller than the Postgres or MySQL audience. Support for edge and serverless runtimes widens it a little. Remote use is tied to Turso or a self-hosted sqld server.

  • docs.turso.tech/sdk/ts/reference.md: Positioned for remote libSQL databases and ORM integration
  • peers downloadsLast4Weeks: Postgres and MySQL drivers have several times its downloads

GPT-6.2 Sol: 4.3, likely 3.3 to 5.4

Database access is common, and 42.1% of Stack Overflow respondents who answered the database question reported using SQLite in 2026. This client serves the smaller group that wants remote libSQL, embedded replicas, or an async SQLite file API. The survey measures SQLite use broadly, so demand for those specific features is harder to size.

Helps a lot6.4

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

Claude Opus 5.5: 5.5, likely 4.5 to 6.5

The API is clean and typed. It runs on many runtimes and supports embedded replicas, which few drivers offer. Open issues show real correctness problems: native crashes, write locks left after a failed COMMIT, and :memory: databases lost in transactions. Local performance trails better-sqlite3 by a wide margin.

GPT-6.2 Sol: 7.3, likely 6.1 to 8.4

Version 0.18.0 has a small typed API and clear examples for common queries, which also give coding agents a good starting point. A user reproduced a persistent local write lock after a failed commit, and the proposed fix remains open. In an independent local benchmark, better-sqlite3 beat an older client version on inserts and lookups. That benchmark covers local files, so current remote performance remains harder to judge.

Holds up over time4.9

Will it still be a good choice in two years?

Claude Opus 5.5: 4.0, likely 3.0 to 5.5

A funded company publishes it, and npm still got 6 versions in the last year. But the repo had only 34 commits and no GitHub releases in that year. Turso's engineering focus has moved to its Rust rewrite, and the docs steer new local and sync users to the new packages. It looks like maintenance mode rather than active development.

GPT-6.2 Sol: 5.8, likely 4.5 to 7.1

Turso shipped six npm versions and made 34 commits in the past year, with the same maintainer triggering the recent successful publish runs. GitHub release notes stop at 0.14.0, and users report that the gap makes upgrades harder to assess. Turso still recommends the client for remote libSQL and established ORM integrations, but points most other new Turso projects to newer packages. Long-term maintenance depends on how much work Turso continues to put into the libSQL client.

Used widely4.6

How many use it, and is that growing?

Claude Opus 5.5: 5.0, likely 4.0 to 6.5

Downloads rose from 1.6M to 23M per 4 weeks. That ratio of about 14 is well above the median of 4.1. Much of the rise likely comes from tools that install it for you, such as @mastra/libsql and ORM adapters, rather than direct choices. Dependents (52 repos) and stars (578) are low next to its SQLite peers, though ecosyste.ms often undercounts scoped packages.

  • npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 23.1M versus 1.6M; ratio about 14
  • dependents: 52 repos and 29 packages, versus 12,510 repos for better-sqlite3
  • mastra.ai/reference/storage/libsql: Mastra's LibSQLStore depends on @libsql/client, which drives transitive installs
  • bluesky posts: Only 1 post, a complaint about bundling on AWS Lambda

GPT-6.2 Sol: 4.2, likely 2.9 to 5.8

Four-week installs rose from 1.62 million to 23.09 million, about 14.3 times the prior year and well above the catalog median of 4.1. The tracked sample found 52 repositories and 29 npm packages, compared with 195 repositories for Neon and 12,510 for better-sqlite3. The repository has 578 stars and drew one Bluesky post in the measured window. Automated installs and downstream dependencies such as Mastra make it hard to tell how much of the growth came from projects choosing the driver directly.

  • npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, and medianDownloadsRatio: Installs grew 14.3 times against a catalog median of 4.1.
  • dependents and peers dependentRepos: The partial sample trails Neon and better-sqlite3.
  • github stars and bluesky posts: 578 stars and one Bluesky post linking the repository.
  • raw.githubusercontent.com/mastra-ai/mastra/main/stores/libsql/package.json: Mastra's libSQL storage package installs the driver as a dependency.
Vouched for6.0

Who stands behind it being good?

Claude Opus 5.5: 5.0, likely 4.0 to 6.5

Turso backs it, and Drizzle, Prisma adapters and Mastra build on it, which shows real production use. Independent praise is thin. The one benchmark found ranks it behind better-sqlite3, and the only Bluesky post is a complaint. There are no survey numbers for this client.

GPT-6.2 Sol: 7.0, likely 5.9 to 8.1

Drizzle and Prisma maintain integrations, and Mastra uses the driver in its storage package. These are concrete commitments from three independent projects. Public evidence on production reliability and developer retention for this specific package remains sparse.

Safe7.3

How safe is it to depend on?

Claude Opus 5.5: 7.0, likely 5.5 to 8.0

It has no OSV advisories, 5 direct dependencies and an MIT licence, and a company publishes it. It installs prebuilt native binaries for each platform, which adds attack surface and causes install problems. There is no Scorecard data, and the release process lacks tags and changelogs, so the range stays fairly wide.

GPT-6.2 Sol: 7.5, likely 6.2 to 8.6

The package uses the permissive MIT licence, and OSV lists zero advisories for it. It has five direct dependencies, including a native binding, and its tagged GitHub Actions workflow publishes to npm with provenance. Recent releases show one person triggering publication, and the lack of an OpenSSF Scorecard leaves some repository controls unverified.

Good

  • One API covers local files, in-memory databases, remote Turso over HTTP or WebSocket, and embedded replicas that sync.
  • It runs on Node, Bun, Deno, Cloudflare Workers and other edge runtimes, and it has first-class TypeScript types.
  • Drizzle, Prisma, Mastra and other tools support it directly, so it fits common stacks.
  • It has no known security advisories, few direct dependencies and an MIT licence.

Bad

  • Turso now recommends @tursodatabase/database and @tursodatabase/sync for new local and sync projects, so new work no longer goes into this client.
  • Open issues report native segfaults, write locks that stay after failed transactions, and memory leaks.
  • No GitHub release or changelog has appeared since v0.14 in December 2024, and open issues (113) outnumber closed ones (72).
  • For local SQLite it is far slower than better-sqlite3 or node:sqlite on simple queries.

The numbers

npm downloads, 4 weeks
23M ×14 in a year
GitHub stars
578
Commits, 12 months
34
npm version
0.18.0 Sept 2026
Versions, 12 months
6
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
None
Licence
MIT

Read on 21 November 2026 from GitHub (tursodatabase/libsql-client-ts), npm (@libsql/client), 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