Open mrchrisadams opened 1 year ago
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
Untested yet, but we should be good in Deno as of 1.28
This will be good to eventually have documented on the docs site, but we'll keep a rolling list here for now.
Here's a working demo in Deno: https://github.com/fershad/co2js-deno-demo
Here's a working demo in Bun https://github.com/fershad/co2js-bun-demo
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: