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

feat: support ESM and web platform runtimes #25

Merged
merged 1 commit into from
Jun 28, 2023
Merged

feat: support ESM and web platform runtimes #25

merged 1 commit into from
Jun 28, 2023

Conversation

rattrayalex
Copy link
Collaborator

@rattrayalex rattrayalex commented Jun 28, 2023

We have added or improved support for:

  • EcmaScript Modules (ESM) for Node and others (in addition to CJS)
  • Cloudflare Workers
  • Vercel Edge Runtime
  • Deno
  • Browser (tested with webpack) - though you should not expose your secret key.

In Node, we still use libraries like node-fetch and formdata-node; in others, we use the native APIs.

@rattrayalex rattrayalex changed the title feat: support ESM and web platform runtimes; easier file uploads feat: support ESM and web platform runtimes Jun 28, 2023
@rattrayalex rattrayalex merged commit d5552a5 into main Jun 28, 2023
2 checks passed
@rattrayalex rattrayalex deleted the ralex/esm branch June 28, 2023 02:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants