@netlifedesign/how-much-is-x-co2
v1.0.1
Published
A collection of methods to describe and compare X kilograms of CO2
Downloads
18
Maintainers
Readme
how-much-is-x-co2
A collection of methods to describe and compare x kilograms of CO2
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)