libsql
npmv0.5.29TypeScriptA better-sqlite3 compatible API for libSQL that supports Bun, Deno, and Node
Safe to adopt
Yes — libsql scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 168 days ago. 50 releases in the last 2 years.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- BMaintenance: grade B, Good.
Last published 168 days ago. 50 releases in the last 2 years.
- AWeight: grade A, Excellent.
Pulls in 2 transitive packages, about 69 KB installed (at least — some of the tree is still being crawled).
- BSupply chain: grade B, Good.
This package has a single maintainer (bus factor of 1).
- ALicense: grade A, Excellent.
MIT — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding libsql to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Part of this dependency tree has not been crawled yet, so these figures are a lower bound rather than a final total.
Licenses in the dependency tree
Every license you inherit by installing libsql, not just its own. Check this before a legal review, not after.
Compatibility
- Node.js
- No constraint declared
- Module format
- CommonJS only
- TypeScript
- Types included
- Install scripts
- None
Quick start
A usage example from the libsql README.
import Database from 'npm:libsql';libsql vs the alternatives
Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| libsqlthis page | 0 | 1 | MIT | 5 months ago |
| @libsql/client | 2M | 1 | MIT | 1 day ago |
| @libsql/client-wasm | 0 | 1 | MIT | 1 day ago |
| @libsql/core | 0 | 2 | MIT | 1 day ago |
| @libsql/hrana-client | 0 | 1 | MIT | 1 day ago |
Dependencies
Declared by libsql v0.5.29. Runtime dependencies are installed with the package; dev dependencies are not.
Runtime (2)
Dev (2)
Used by
Popular packages that depend on libsql.
Relationship graph
Dependencies (left) and dependents (right) of libsql.
Frequently installed together
Prettier is an opinionated code formatter
Delightful JavaScript Testing.
TypeScript definitions for node
Seamless REST/GraphQL API mocking library for browser and Node.js.
limits calls to functions that return promises
libSQL driver for TypeScript and JavaScript
Hrana client for connecting to sqld over HTTP or WebSocket
Yet another Base64 transcoder in pure-JS
Release history
50 releases in the last two years, typically about 6 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 0.6.0-pre.41 | 2 months ago | 73 KB | MIT |
| 0.6.0-pre.40 | 3 months ago | 63 KB | MIT |
| 0.6.0-pre.39 | 3 months ago | 63 KB | MIT |
| 0.6.0-pre.38 | 3 months ago | 63 KB | MIT |
| 0.6.0-pre.37 | 3 months ago | 63 KB | MIT |
| 0.6.0-pre.36 | 3 months ago | 63 KB | MIT |
| 0.6.0-pre.35 | 4 months ago | 63 KB | MIT |
| 0.6.0-pre.34 | 4 months ago | 60 KB | MIT |
| 0.6.0-pre.33 | 4 months ago | 60 KB | MIT |
| 0.6.0-pre.32 | 5 months ago | 59 KB | MIT |
| 0.6.0-pre.31 | 5 months ago | 59 KB | MIT |
| 0.5.29latest | 5 months ago | 43 KB | MIT |
| 0.6.0-pre.30 | 5 months ago | 57 KB | MIT |
| 0.5.28 | 5 months ago | 42 KB | MIT |
| 0.5.26 | 5 months ago | 42 KB | MIT |
Overview
libsql is an npm package that a better-sqlite3 compatible API for libSQL that supports Bun, Deno, and Node. It has 1 known dependents in the graph. The latest version is 0.5.29, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need a better-sqlite3 compatible API for libSQL that supports Bun, Deno, and Node and value a focused solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Maintainers
Keywords
Frequently asked questions
Should I use libsql?
Yes — libsql scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 168 days ago. 50 releases in the last 2 years.
How do I install libsql?
Run `npm install libsql` to add libsql to your npm project.
How many dependencies does libsql have?
libsql declares 13 direct dependencies and pulls in 2 packages in total once its runtime tree is resolved totalling about 69 KB on disk.
What license is libsql released under?
libsql is distributed under the MIT license.
How popular is libsql?
npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on libsql.
Is libsql still maintained?
The most recent release of libsql (v0.5.29) was published 5 months ago.
Does libsql run install scripts?
No. libsql does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.