libsql-js icon indicating copy to clipboard operation
libsql-js copied to clipboard

A better-sqlite3 compatible API for libSQL that supports Bun, Deno, and Node

Results 56 libsql-js issues
Sort by recently updated
recently updated
newest added

Hi, Would like to use the types from `libsql/promise` but none are provided ``` import type {???} from 'libsql/promise'; ```

We turn on read-your-write guarantee now unconditionally, but in some use cases that's not desirable. Let's make it configurable.

enhancement
help wanted
good first issue

in here, https://github.com/tursodatabase/libsql-js/blob/1df5a35989c93ba9000a7facdf6dd726d73c702f/src/statement.rs, we're blocking the JS main thread for deserializing the native values, ideally we could make it happen on worker threads to free some cycles from the JS...

Example: ```js import Database from "libsql"; const opts = { authToken: process.env.TURSO_AUTH_TOKEN || '' } as any; const db = new Database(process.env.TURSO_DATABASE_URL || '', opts) console.log(db.prepare('select invalidcolumn')); //doesn't throw error;...

bug
help wanted
api compat

I am not sure if there are more targets, but developing with bun using the [single-file executable mode](https://bun.sh/docs/bundler/executables) the libsql driver fails to be imported from the embedded file system...

The build breaks with: ``` > cargo build --message-format=json | npm exec neon dist Compiling libsql-js v0.3.12 (/home/haaawk/libsql-js) error: No artifacts were generated for crate libsqlibsql-js error: Broken pipe (os...

bug
help wanted

Hello everyone, I'm currently in the process of building an Expo app utilizing the Expo Router v3 API routes. Previously, I had been using Planetscale without any issues. However, upon...

Hi, I am new to JS so it is possible I am missing something. - I am using the `RANDOM ROWID` feature with libsql. When this is enabled I cannot...

I'm getting the following errors when using with [knex](https://knexjs.org/). Im using the database export from the `pormise.js` file 1. statement.run is undefined. i noticed this when running `knex.raw()` 2. types...

LLRT is still in very very early stages, so it's not surprising that it's not working with turso/libsql. It seems like it should be possible, and the main hurdle seems...