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

Deno rework #6

Merged
merged 8 commits into from
Jul 29, 2024
Merged

Deno rework #6

merged 8 commits into from
Jul 29, 2024

Conversation

Granitosaurus
Copy link
Contributor

I've rebased the typescript source on deno.land infra which allows us to distribute native typescript for Deno and Bun runtimes through jsr.io: https://jsr.io/@scrapfly/scrapfly-sdk

This also resolves #5 as build.ts generates commonjs as well through deno's DNT builder.

To summarize this will enable:

  • deno native typescript use through jsr
  • bun native typescript use through jsr
  • commonjs through npm
  • cloudlfare workers through denoflare (requires master branch)

@mazen-r
Copy link
Contributor

mazen-r commented Jul 29, 2024

We can remove the suggestion for using the gzip format for auto compression since there is no available auto compression at the moment:
https://github.com/scrapfly/typescript-scrapfly/blob/deno/src/extractionconfig.ts#L124C1-L124C62

@Granitosaurus Granitosaurus merged commit 0c93447 into main Jul 29, 2024
1 check passed
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.

Support using this package in commonjs projects (i.e. importing using 'require')
2 participants