{"repo":"tursodatabase/libsql-js","free":true,"listed":false,"github":"https://github.com/tursodatabase/libsql-js","clone":"git clone https://github.com/tursodatabase/libsql-js.git","description":"A better-sqlite3 compatible API for libSQL that supports Node, Bun, and Deno.","language":"JavaScript","stars":336,"topics":["javascript","libsql","nodejs","sqlite","typescript","bun","deno"],"license":"MIT","category":"databases-storage","readme_excerpt":"libSQL API for JavaScript/TypeScript [!IMPORTANT] Turso database and libSQL are two different projects from the same team. libSQL (this repository) is an open-source fork of SQLite. It extends SQLite with features like embedded replicas and remote access, but inherits SQLite's fundamental limitations such as the single-writer model. Turso database is a SQLite-compatible database rewritten from scratch in Rust. It is not a fork of SQLite — it is a completely new implementation that goes beyond what any SQLite fork can offer, including concurrent writes and bi-directional sync with offline support. Turso is currently in beta. If you're starting a new project, you probably want to look into Turso. libSQL is actively maintained, but new features are being developed in Turso. libSQL is an open source, open contribution fork of SQLite. This source repository contains libSQL API bindings for Node, which aims to be compatible with better-sqlite3, but with opt-in promise API. Features In-memory and local libSQL/SQLite databases Remote libSQL databases Embedded, in-app replica that syncs with a remote libSQL database Supports Bun, Deno, and Node on macOS, Linux, and Windows. Installing You can install the package with: Node: Bun: Deno: Use the npm: prefix for package import: Documentation API reference Getting Started To try out your first libsql program, type the following in hello.js : and then run: To use the promise API, import libsql/promise : Connecting to a local database file C","default_branch":null,"files":null,"tree":[],"storefront":"/r/tursodatabase","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tursodatabase/libsql-js/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}