What is CO2.js?
One day, the internet will be powered by renewable energy. Until that day comes, there’ll be a CO2 cost that comes with every byte of data that’s uploaded, downloaded or stored. By being able to calculate these emissions, developers can be empowered to create more efficient, lower carbon apps, websites, and software.
Curious about driving the transition to a fossil-free internet? Here’s how CO2.js can help goes in depth about the concepts behind CO2.js, it’s uses, and when other tools might be better options to consider.
Using CO2.js
CO2.js can be quickly installed into JavaScript projects using NPM. Other installation options can be found on our documentation website – CO2.js: Installation.
Resources for developers
Quick start
Start calculating digital carbon emissions in 5 minutes with CO2.js
Developers
For more in depth guidance refer to our developer documentation.
Codebase
If you’d like to view our open source repo, you can see it in GitHub.
CO2.js recent release notes
Stay up to date
Case studies
Here’s a few stories of how companies and individuals in are using CO2.js in real world applications today.
If you’re using CO2.js in production we’d love to hear how! Drop us a line.
CO2.js Case Study – Step CI
Step CI is a testing and monitoring tool for APIs. In this case study, we look at how they introduced carbon emissions estimates using CO2.js.
CO2.js Case Study – Ecograder by Mightybytes
Ecograder is one of the pioneering tools when it comes to estimating website carbon emissions. In this case study we look at the Ecograder story, and how CO2.js helped with its most recent update.
CO2.js Case Study – WebPageTest
WebPageTest is one of the most trusted web performance testing tools. This case study covers how CO2.js enables the Carbon Control feature in WebPageTest.
Licenses
The code for CO2.js is licensed Apache 2.0 (What does this mean?).
The average carbon intensity data from Ember is published under the Creative Commons ShareAlike Attribution Licence (CC BY-SA 4.0). (What does this mean?)
The marginal intensity data is published by the Green Web Foundation, under the Creative Commons ShareAlike Attribution Licence (CC BY-SA 4.0). (What does this mean?)