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

Test compatibility of CO2.js in with other js runtimes #115

Open
mrchrisadams opened this issue Oct 7, 2022 · 5 comments
Open

Test compatibility of CO2.js in with other js runtimes #115

mrchrisadams opened this issue Oct 7, 2022 · 5 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@mrchrisadams
Copy link
Member

mrchrisadams commented Oct 7, 2022

One of the goals we had for CO2.js, and one of the reasons we invested a bunch of time in making it work as a hybrid library was to support a wide number of runtimes.

We currently support the nodejs runtime, and most modern browsers, but there are other runtimes that use javascript too.

Some examples below:

@fershad
Copy link
Contributor

fershad commented Oct 12, 2022

Re: Deno - They are planning to have more seamless NPM & Node interoperability in the next couple of months.
https://deno.com/blog/changes#compatibility-with-node-and-npm

@fershad
Copy link
Contributor

fershad commented Nov 14, 2022

Untested yet, but we should be good in Deno as of 1.28

https://deno.com/blog/v1.28

@fershad fershad self-assigned this Dec 15, 2022
@fershad
Copy link
Contributor

fershad commented Dec 15, 2022

This will be good to eventually have documented on the docs site, but we'll keep a rolling list here for now.

  • Deno
  • Elsa
  • Bun
  • Appscript
  • Cloudflare Workers

@fershad
Copy link
Contributor

fershad commented Dec 15, 2022

Here's a working demo in Deno:
https://github.com/fershad/co2js-deno-demo

@fershad
Copy link
Contributor

fershad commented Dec 15, 2022

Here's a working demo in Bun
https://github.com/fershad/co2js-bun-demo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants