@netlifedesign/how-much-is-x-co2

1.0.1 • Public • Published

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)

Package Sidebar

Install

npm i @netlifedesign/how-much-is-x-co2

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

5.29 kB

Total Files

4

Last publish

Collaborators

  • netlifedesign