Skip to content

Consider packaging the driver for different runtimes #1065

@scotttrinh

Description

@scotttrinh

We currently target two runtimes (Node and Deno) by doing some build time transformations. There are now more possible runtimes that we could target and take advantage of platform-specific APIs or other runtime-specific concerns (like envrionment variables on Cloudflare or Bun.connect() for Bun). We should consider perhaps providing separate packages for each runtime that takes advantage of these opportunities.

Some possible runtime targets:

  • (existing) Node.js
  • (existing) Browser
  • (existing) Deno
  • Bun
  • Cloudflare Workers (workerd)
  • WinterCG (is this a legible target?)

Open Questions

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions