npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@cco2/carbon-weight

v1.5.9

Published

Carbon Footprint Calculator For Individuals And Households

Downloads

52

Readme

License: MIT GitHub top language GitHub issues GitHub package.json version Build Status Codecov Dependencies

Carbon-Weight

Carbon Footprint Calculator For Individuals And Households. This carbon footprint calculation allows you to estimate and calculate your personal or business carbon footprint whether it comes from housing, travels, transportation or food habits (made by https://www.compteco2.com/). It has been designed to be integrated for a final user ease of use.

You may directly use this calculator online from URL (todo).

| | | | | :--------------------: | :--------------------: | :--------------------: |

You may also install the self contained npm package to use it from your own projects:

npm i @cco2/carbon-weight

Build

Prerequisites

Git
Node.js >= 12 (tip: use nvm or n to manage multiple Node versions)

Build

nvm use # Check supported version
npm i
npm run build
  • Run the linter.
  • Build the source code.
  • Run the unit tests - display coverages.

Release

npm run build:release
  • Run the linter.
  • Build the source code.
  • Run the unit tests - display coverages.
  • Upload coverages.
  • Generate the documentation as interactive HTML pages (typedoc).

Methodology, Data & API

Please follow our wiki to get a full insight of our computation an data sources.

The API documentation is contained within this wiki.

You may also get pratical use cases within UTs.

Contribute

Send me a mail at [email protected] for ways to get help or getting started contributing. Ideas for new plugins and tools are welcome and can be posted in issues with the "enhancement" label.

A curated list of awesome resources can be found within our wiki, do no hesitate to provide us other country data from trusted source (Government, Government operator, Public Agency, Recognized ONG).