thegreenwebfoundation / co2.js

An npm module for accessing the green web API, and estimating the carbon emissions from using digital services
Other
389 stars 49 forks source link

Redo the constants change - gibibyte to gigabyte calculations #74

Closed mrchrisadams closed 2 years ago

mrchrisadams commented 2 years ago

Reverts thegreenwebfoundation/co2.js#66

Oops. I shouldn't have merged that PR yet - I was tired last night and there are bunch of other tests this change affected.

This PR when ready, should make sure we're using the 1000 * 1000 * 1000 figure for gigabytes, but have all the tests passing.

mrchrisadams commented 2 years ago

There's now an issue, #75 to add these updated figures in, and move from gibibytes to gigabytes.