tursodatabase / libsql-client-ts

TypeScript/JavaScript client API for libSQL
https://docs.turso.tech/sdk/ts/quickstart
MIT License
289 stars 37 forks source link

libsql-client: Make libsql dependency optional #169

Closed penberg closed 9 months ago

penberg commented 9 months ago

The @libsql/client can be used even without the libsql package. So make the libsql dependency optional if no native package is found. This happens, for example, with StackBlitz, which is wasm32 environment.