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

electricity-plan-analyzer

v1.4.0

Published

The Electricity Plan Analyzer is a command-line utility that aids consumers in Israel in making informed decisions about their electricity plan. Users can analyze their electricity consumption data from the Israel Electric Company (IEC) to determine which

Downloads

3

Readme

⚡ Electricity Plan Analyzer

Overview

The Electricity Plan Analyzer is a command-line utility that aids consumers in Israel in making informed decisions about their electricity plan. Users can analyze their electricity consumption data from the Israel Electric Company (IEC) to determine which electricity plan offers the best value based on their usage patterns.

Israeli customers can download their consumption data here, which includes KwH usage for every 15-minute interval, and use this tool to compare different plans.

The CLI outputs:

  • Discounted KwH for each timeslot
  • Total annual KwH consumption
  • Total annual cost
  • Total annual discount
  • Discount percentage for each plan

Plans

Currently, 13 plans from 6 vendors are analyzed:

  • Pazgas
    • 24/7 (7%)
  • Electra Power
    • Power (5%)
    • Hitech (8%)
    • Night (20%)
  • Amisragas
    • 24/7 (7%)
  • Cellcom Energy
    • 24/7 (5%)
    • Day (15%)
    • Family (18%)
    • Night (20%)
  • Bezeq
    • 24/7 (7%)
    • Day (15%)
    • Night (20%)
  • IEC Taoz
    • High/Low by season (varies)

Usage

To run the Electricity Plan Analyzer, execute the following command with the path to your electricity consumption CSV file:

npx electricity-plan-analyzer --input <path-to-csv> --output <output-csv> --cost <cost-multiplier>

Options

  • --input, -i: Path to your electricity usage CSV file. Required.
  • --output, -o: Path for the output CSV file. Defaults to meter_output.csv.
  • --cost, -c: The cost multiplier used for calculating the total cost. Defaults to 0.6007.

Examples

  • Using the default output and cost:
npx electricity-plan-analyzer --input /path/to/your/usage.csv
  • Specifying both input and output files:
npx electricity-plan-analyzer --input /path/to/your/usage.csv --output /path/to/your/result.csv
  • Specifying both input file and custom cost multiplier:
npx electricity-plan-analyzer --input /path/to/your/usage.csv --cost 0.65

Acknowledgments

I would like to thank everyone who contributed to the ideation of this tool, especially those who provided valuable feedback and suggestions to improve its functionality.

Code, readme and license were written using GPT4-turbo.

License

This project is free to use for non-commercial purposes. Commercial use is not permitted.