Skip to content

Usage with Bun/Deno #100

Closed
Closed
@sgammon

Description

@sgammon

It appears that the Node env detection code does not account for Node-like runtimes, like Bun and Deno.

I encountered an error using @sqlite.org/sqlite-wasm from Bun, where the library attempted to fetch instead of using fs.readAsync.

I realize Bun has built-in SQLite support, but my use case for this library involves a uniform API surface. I want to adopt this library without compromising runtime support for non-Node (but still Node-like) runtimes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions