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 🙏

© 2026 – Pkg Stats / Ryan Hefner

actions-storage-report

v0.1.0

Published

Executive summary of GitHub Actions storage and metered usage for an organization, in your terminal.

Readme

GitHub Actions Storage Report

An executive summary of your GitHub organization's Actions storage and metered usage, in the terminal. Answers the question the billing page doesn't: which repository is eating the artifact storage allowance, and are we going to blow through it this month?

$ npx actions-storage-report my-org

GitHub usage — my-org
August 2026 · data through 2026-08-05 (5 of 31 days) · plan: team

── HEADLINE ──────────────────────────────────────────────────────────
  Actions storage    412.66 GB-hr   avg 3.44 GB held
  Storage budget     1,488 GB-hr   (2 GB included × 744 hr)
  Used so far        ███████·················  27.7%

  Projected (month avg rate)      2,559 GB-hr   172.0% of budget
  Projected (last 3 days rate)    1,204 GB-hr    80.9% of budget

  Billed this period   $18.40   storage $0.00 · minutes $18.40 · other $0.00

Also reports per-repository storage share, a daily trend, runner minutes broken out by SKU with billing multipliers, and flags for the patterns that actually cost money — a single repo dominating storage, repos whose artifacts never drain, or a trailing rate headed over the allowance.

Install

npx actions-storage-report my-org      # no install
npm install -g actions-storage-report  # or keep it around

Requirements

  • Node 18+

  • GitHub CLI (gh), authenticated. All API calls go through gh api, so this tool never handles your token.

  • An account that can read org billing — org Administration: read on a fine-grained token, or admin:org on a classic PAT:

    gh auth refresh -s read:org,admin:org
  • The org must be on GitHub's enhanced billing platform. Orgs still on the legacy platform return a 404 from the usage endpoint.

Usage

actions-storage-report <org> [options]

| Option | Description | |------------------|-----------------------------------------------------------------------------------------------------------| | --org <name> | Organization login. May also be passed positionally, or set as GH_USAGE_ORG. | | --plan <plan> | free, pro, team, or enterprise. Detected from the org by default; only needed if detection fails. | | --year <yyyy> | Defaults to the current year (UTC). | | --month <1-12> | Defaults to the current month (UTC). | | --json | Print the raw usageItems array and exit. | | --no-color | Disable ANSI color. NO_COLOR is also honored. | | --version | Print the version and exit. |

Examples:

actions-storage-report my-org                          # current month
actions-storage-report my-org --month 7 --year 2026    # a past month
actions-storage-report my-org --json | jq '.[0]'       # raw data

Reading the output

GB-hr (gigabyte-hours) is the unit GitHub actually bills storage in: one gigabyte held for one hour. Your plan's "2 GB included" is really an allowance of 2 GB × the hours in the month, so a 60 GB artifact held for one day costs the same as 2 GB held for 30 days.

Two projections are shown because they answer different questions. The month average rate extrapolates everything so far, which overshoots badly if a large artifact has already been deleted. The last 3 days rate tracks the shape you are currently on, and is usually the one to trust mid-month.

Two caveats worth internalizing:

  • Storage figures lag 6–12 hours behind reality.
  • Accrued GB-hr never decreases. Deleting artifacts doesn't refund what's already accrued — it only slows future accrual. Acting early in a month is worth far more than acting late.