Skip to content

NMF-earth/carbon-footprint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

84 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Carbon Footprint Diagnostic ๐Ÿญ๐Ÿ‘ฃ๐Ÿฉบ

Contributor Covenant Build Status

Calculate your carbon footprint. Food, transport, purchases, fashion, electricity and digital activities like streaming, cryptoArt or blockchain.

Used in NMF.earth open-source project. Can be found on NPM.

Units ๐ŸŒ

Unit of measurement used in the project are following the International System of Units to avoid confusion and make everything easy to remember : seconds for time, energy in joules, mass in kilogram, distance in meters, memory in bits.

Therefore meter is used instead of kilometer for distance and any mass is in kilogram.

Install ๐Ÿ“ฆ

yarn add carbon-footprint or npm install carbon-footprint

How to use ๐Ÿ”ฅ

import { transport } from 'carbon-footprint' ... const emission = kilometer * transport.fossilFueledCar;

If you want to see how we use this module, check the NMF.earth app repo.

Source โ„น๏ธ

You can verify any number. A link can be found inside corresponding file.

Contribution ๐Ÿ™‹

Any Contribution is welcome!

Please read this if you want to contribute.

Tests + Lint + typescript :

yarn test yarn lint yarn tsc yarn format

Workflow

To publish to npm, just create a new release.

ยฉ๏ธ Open source - licence

Repository and contributions are under GNU General Public License v3.0

About

Calculate your carbon footprint ๐Ÿญ๐Ÿ‘ฃ from food, transport, purchases, fashion, electricity and digital activities like streaming, NFT or blockchain.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors