Skip to content

netliferesearch/how-much-is-x-co2

Repository files navigation

how-much-is-x-co2

A collection of methods to describe and compare x kilograms of CO2.

See how much 100kg CO2 is here here: https://how-much-is-x-co2.netlify.app/?kg=100

Change the Kg parameter in the URL to see different calculations.

Usage

  • Install with npm install tone
  • Import methods with import { CO2ToKmTraveledByCarAlone, CO2ToKmTraveledByTrainPerPassenger } from "@netlifedesign/how-much-is-x-co2";

Methods

All methods take a kgCO2 value and return a corresponding unit described in the method name.

  • CO2ToKmTraveledByCoach(kgCO2)
  • CO2ToKmTraveledByScooter(kgCO2)
  • CO2ToKmTraveledByPlanePerPassenger(kgCO2)
  • CO2ToKmTraveledByTrainPerPassenger(kgCO2)
  • CO2ToKmTraveledByCarAlone(kgCO2)
  • CO2ToKgProducedBeefFromCattleProducingBeefButNotDairy(kgCO2)
  • CO2ToKgProducedBeefFromCattleProducingBothBeefAndDairy(kgCO2)
  • CO2ToLitresProducedMilk(kgCO2)
  • CO2ToHectaresRainforest(kgCO2)
  • CO2ToSquareMetersRainforest(kgCO2)
  • CO2ToRainforestTrees(kgCO2)
  • CO2ToJeans(kgCO2)

About

A collection of methods to describe and compare X kilograms of CO2

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published