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

Prefer native fetch if present, else cross-fetch #16

Closed CodingDoug closed 1 year ago

CodingDoug commented 1 year ago

CloudFlare requires the use of native fetch (cross-fetch only implements "ponyfill" compatibility mode).

honzasp commented 1 year ago

Hmm, this does not seem to work on Node, because the fetch global is not defined.