limbo/bindings/javascript
Jussi Saurio 94e334a44a Merge 'bindings/javascript: Add source property to Statement' from Anton Harniakou
Let's you get the source string that was used to create the prepared
statement.

Reviewed-by: Diego Reis (@el-yawd)

Closes #1670
2025-06-09 08:24:47 +03:00
..
.yarn/releases Initial JavaScript bindings with napi-rs 2025-03-26 13:30:13 +02:00
__test__ Merge 'bindings/javascript: Add source property to Statement' from Anton Harniakou 2025-06-09 08:24:47 +03:00
docs bind/js: Adds contribution guide 2025-06-05 14:42:44 -03:00
npm Limbo 0.0.22-pre.1 2025-06-05 18:26:33 +03:00
src bind/js: Fix incompatible pluck mode 2025-06-05 14:42:44 -03:00
.gitignore Initial JavaScript bindings with napi-rs 2025-03-26 13:30:13 +02:00
.npmignore Initial JavaScript bindings with napi-rs 2025-03-26 13:30:13 +02:00
.yarnrc.yml Initial JavaScript bindings with napi-rs 2025-03-26 13:30:13 +02:00
build.rs Initial JavaScript bindings with napi-rs 2025-03-26 13:30:13 +02:00
Cargo.toml bind/js: Partially implements iterate() method 2025-05-18 00:51:23 -03:00
index.d.ts bind/js: Add tests and some fixes 2025-05-08 15:57:46 -03:00
index.js bind/js: Formatting 2025-05-18 00:51:49 -03:00
package.json Limbo 0.0.22-pre.1 2025-06-05 18:26:33 +03:00
README.md bind/js: Adds README 2025-06-05 14:42:44 -03:00
wrapper.js Merge 'bindings/javascript: Add source property to Statement' from Anton Harniakou 2025-06-09 08:24:47 +03:00
yarn.lock bindings/javascript: Add better-sqlite3 tests 2025-03-28 11:32:55 +02:00

Limbo

Limbo is a work-in-progress, in-process OLTP database engine library written in Rust that has:

  • Asynchronous I/O support on Linux with io_uring
  • SQLite compatibility [doc] for SQL dialect, file formats, and the C API
  • Language bindings for JavaScript/WebAssembly, Rust, Go, Python, and Java
  • OS support for Linux, macOS, and Windows

In the future, we will be also working on:

  • Integrated vector search for embeddings and vector similarity.
  • BEGIN CONCURRENT for improved write throughput.
  • Improved schema management including better ALTER support and strict column types by default.

Install

npm i @tursodatabase/limbo

Usage

import { Database } from 'limbo-wasm';

const db = new Database('sqlite.db');
const stmt = db.prepare('SELECT * FROM users');
const users = stmt.all();
console.log(users);

Documentation