COMPARISON · SERVERLESS DATABASE

@libsql/client vs. @tursodatabase/serverless

Side-by-side comparison · 9 metrics · 12 criteria

@libsql/client v0.18.0 · MIT
Weekly Downloads
5.9M
Stars
578
Gzip Size
19.3 kB
License
MIT
Last Updated
10mo ago
Open Issues
130
Forks
72
Unpacked Size
156.6 kB
Dependencies
6
Weekly Downloads
90.3K
Stars
25.4K
Gzip Size
6.4 kB
License
MIT
Last Updated
8mo ago
Open Issues
1.8K
Forks
1.6K
Unpacked Size
287.6 kB
Dependencies
1
DOWNLOAD TRENDS

@libsql/client vs @tursodatabase/serverless downloads · last 12 months

Download trends for @libsql/client and @tursodatabase/serverless2 download series from Nov 2025 to Oct 2026. Use left and right arrow keys to inspect monthly values.04.6M9.1M13.7M18.2MNov 2025FebMayAugOct 2026
@libsql/client
@tursodatabase/serverless
FEATURE COMPARISON

Criteria · @libsql/client vs @tursodatabase/serverless

Language Scope
@libsql/client ✓
Description explicitly covers TypeScript and JavaScript
@tursodatabase/serverless
Description specifies JavaScript
GitHub Interest
@libsql/client
Fewer reported GitHub stars and forks
@tursodatabase/serverless ✓
More reported GitHub stars and forks
Observed npm Usage
@libsql/client ✓
Substantially higher weekly download volume
@tursodatabase/serverless
Lower weekly download volume
Open-Issue Context
@libsql/client ✓
Fewer reported open issues
@tursodatabase/serverless
More reported open issues
TypeScript Clarity
@libsql/client ✓
TypeScript support is stated in the description
@tursodatabase/serverless
Supplied description does not state TypeScript support
Serverless Positioning
@libsql/client
General libSQL client framing
@tursodatabase/serverless ✓
Serverless driver framing is explicit
Stated Database Target
@libsql/client
Explicitly framed as a libSQL driver
@tursodatabase/serverless
Explicitly framed as a Turso serverless driver
API Compatibility Evidence
@libsql/client
Specific API signatures are not supplied
@tursodatabase/serverless
Specific API signatures are not supplied
Compressed Bundle Footprint
@libsql/client
Larger reported gzip bundle at 19.3 kB
@tursodatabase/serverless ✓
Smaller reported gzip bundle at 6.4 kB
Installed Package Footprint
@libsql/client ✓
Smaller unpacked package at 156.6 kB
@tursodatabase/serverless
Larger unpacked package at 287.6 kB
Runtime Capability Evidence
@libsql/client
Supplied metadata does not specify runtime guarantees
@tursodatabase/serverless
Serverless positioning is stated, but runtime guarantees are not specified
Ecosystem Familiarity Signal
@libsql/client ✓
Higher npm download volume may make usage patterns easier to encounter
@tursodatabase/serverless
Higher star and fork counts indicate greater GitHub engagement
VERDICT

@libsql/client is a JavaScript and TypeScript driver for libSQL, making it the more direct choice when an application needs to connect to libSQL through a client package. Its 1.6M weekly downloads, compared with 14.0K for @tursodatabase/serverless, indicate substantially greater npm usage; that may help teams find existing usage patterns, though download counts alone do not establish compatibility or support quality. The package’s smaller unpacked footprint also suits projects that want a comparatively compact client distribution.

@tursodatabase/serverless is explicitly positioned as a Turso serverless driver for JavaScript, so its natural audience is developers choosing that serverless-oriented Turso interface. Its package description and database, embedded-database, SQL, SQLite, and WebAssembly topics point toward a different emphasis than @libsql/client’s libSQL-driver framing. Choose it when that Turso-specific serverless positioning matches the application’s deployment and database requirements, rather than treating the name alone as proof of a particular runtime capability.

The clearest architectural distinction supported by the supplied information is the driver’s stated target: @libsql/client identifies itself as a libSQL client, while @tursodatabase/serverless identifies itself as a Turso Serverless Driver. That distinction can affect how a team evaluates connection setup, deployment assumptions, and the database service it intends to reach. The available data does not specify method signatures, transport protocols, transaction behavior, or query APIs, so those details should be verified in each package’s documentation before planning an integration.

The packages also signal different implementation and distribution priorities, but the supplied metadata does not establish a plugin system, extension API, or internal execution model for either one. @tursodatabase/serverless has a 6.4 kB gzip bundle versus 19.3 kB for @libsql/client, while its unpacked package is 287.6 kB versus 156.6 kB. Those measurements describe different aspects of distribution: the compressed bundle favors @tursodatabase/serverless, whereas the total unpacked footprint favors @libsql/client. Do not infer from either figure alone that one uses a particular rendering, WebAssembly, or loading strategy.

For developer experience, @libsql/client explicitly advertises TypeScript and JavaScript, which makes its stated language scope clear for teams selecting a typed client. @tursodatabase/serverless is described as a JavaScript driver; the supplied information does not say whether it ships type declarations or how its API models query results. Its 24.9K GitHub stars and 1.5K forks exceed @libsql/client’s 577 stars and 70 forks, while @libsql/client has fewer open issues, 129 versus 1.3K. These figures are context for evaluation, not a substitute for checking current documentation, issue relevance, or TypeScript ergonomics.

Bundle constraints favor @tursodatabase/serverless if the reported gzip bundle size is the relevant measure for the consuming application: 6.4 kB is substantially below @libsql/client’s 19.3 kB. Conversely, @libsql/client has the smaller unpacked package, 156.6 kB against 287.6 kB, which may matter when assessing installed package contents rather than compressed bundle output. Actual application impact depends on how each package is imported and deployed; the supplied figures do not establish runtime speed, memory use, or end-to-end database latency.

Choose @libsql/client when the project specifically needs a libSQL driver, wants its explicitly stated TypeScript and JavaScript scope, or values the much higher observed npm download volume as evidence of broader package usage. Choose @tursodatabase/serverless when the target is specifically its Turso serverless driver and minimizing the reported gzip bundle is important. Before committing, compare the documented connection and query interfaces against the application’s required database operations; the metadata here does not prove that either driver is a drop-in replacement for the other.

Migration and long-term selection should be based on actual API and service compatibility, not package naming or popularity figures. The supplied data gives no migration guide, compatibility matrix, or maintenance guarantees, so teams moving between @libsql/client and @tursodatabase/serverless should first inventory connection configuration, query calls, transaction usage, and TypeScript expectations in their own code. With 129 open issues for @libsql/client and 1.3K for @tursodatabase/serverless, issue totals are worth reviewing alongside issue age and relevance rather than interpreting them as a direct quality ranking.

A niche decision may come down to which package’s documented operating model matches a constrained deployment, especially when compressed bundle size and unpacked contents matter differently. The available metadata names WebAssembly among @tursodatabase/serverless topics, but does not confirm that a particular application must use WebAssembly or that it supplies a specific edge-runtime feature. Treat that topic as a lead for further investigation, and validate runtime support and required database behavior directly before adopting either driver.

CORRECTIONS

Spot wrong data here?

A short note helps us fix it.

Anonymous · No account · No email back

RELATED COMPARISONS 4
@libsql/client vs @planetscale/database ★ 1.8K · 6.7M/wk @libsql/client vs @neondatabase/serverless ★ 1.1K · 14.0M/wk @neondatabase/serverless vs @tursodatabase/serverless ★ 25.9K · 8.3M/wk @planetscale/database vs @tursodatabase/serverless ★ 26.6K · 905.1K/wk