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

Feature Request: Make library usable within browser #22

Open
carstenschwede opened this issue Jun 2, 2021 · 1 comment
Open

Feature Request: Make library usable within browser #22

carstenschwede opened this issue Jun 2, 2021 · 1 comment

Comments

@carstenschwede
Copy link
Contributor

It would be useful to have this library available directly within the browser.
Has this been considered already? Are there any methods that can't be replicated in the browser?

Based on a quick skim I would imagine that replacing request and require with corresponding fetch calls might be sufficient. (Other option would be to rollup all require calls for the courier inclusions in one chunk)

@carstenschwede
Copy link
Contributor Author

I dug deeper and there are a couple of couriers that are being crawled with cheerio which probably can't be replicated in the browser because of likely CORS issues.

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

No branches or pull requests

1 participant