
Security News
/Research
Popular node-ipc npm Package Infected with Credential Stealer
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.
carbon-footprint
Advanced tools
Calculate your carbon footprint. Food, transport, purchases, fashion, electricity and digital activities like streaming.
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.
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.
yarn add carbon-footprint
or
npm install carbon-footprint
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.
You can verify any number. A link can be found inside corresponding file.
Any Contribution is welcome!
Please read this if you want to contribute.
yarn test
yarn lint
yarn tsc
yarn format
To publish to npm, just create a new release.
Repository and contributions are under GNU General Public License v3.0
FAQs
Calculate your carbon footprint. Food, transport, purchases, fashion, electricity and digital activities like streaming.
The npm package carbon-footprint receives a total of 135 weekly downloads. As such, carbon-footprint popularity was classified as not popular.
We found that carbon-footprint demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
/Research
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.

Security News
TeamPCP and BreachForums are promoting a Shai-Hulud supply chain attack contest with a $1,000 prize for the biggest package compromise.

Security News
Packagist urges PHP projects to update Composer after a GitHub token format change exposed some GitHub Actions tokens in CI logs.