Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider packaging the driver for different runtimes #1065

Open
scotttrinh opened this issue Jul 25, 2024 · 0 comments
Open

Consider packaging the driver for different runtimes #1065

scotttrinh opened this issue Jul 25, 2024 · 0 comments

Comments

@scotttrinh
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant