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

@stescobedo9205/azdash

v0.1.0

Published

Azure cost, trend, and waste diagnostics CLI.

Readme

azdash

azdash is an Azure-focused C++23 CLI. It audits Azure spending, Six-month cost trends, and waste signals from Azure Advisor, plus resource heuristics, then renders the results as an FTXUI table, JSON, CSV, or a PDF report.

The implementation is intentionally layered:

  • AzureCliClient gathers data through the official Azure CLI, so the core is easy to test without Azure credentials.
  • analytics contains template-based generic helpers with concepts for aggregation and filtering.
  • render owns FTXUI, JSON, and CSV presentation.
  • report writes stakeholder-friendly PDF reports without requiring a browser.
  • GTest covers parser, analytics, and report generation behavior.

Features

  • Comparative cost analytics for current month versus the matching window in the previous month.
  • Six-month trend report with optional service filtering.
  • Waste detection from az advisor recommendation list --category Cost.
  • Extra Azure heuristics for unattached managed disks, orphan public IPs, old snapshots, and stopped or deallocated virtual machines.
  • Selective scans by check name, for example compute network advisor.
  • Local subscription aliases through alias-sub so long subscription IDs can be referenced by short names in later commands.
  • Output formats: table, json, and csv.
  • Styled terminal tables with colors and inline progress bars for table output.
  • PDF reports for cost, trend, and waste workflows.
  • CMake, vcpkg manifest mode, Docker, CI build/test, and vcpkg port publishing workflow.
  • Published vcpkg package name: stescobedo92-azdash; installed CLI command: azdash.

Screenshots

The terminal UI is rendered with FTXUI for styled command panels, tables, progress bars, success states, and errors. JSON and CSV output remain plain for scripts.

azdash version banner

azdash help command center

azdash cost table

azdash trend table

azdash waste table

azdash subscription alias table

azdash PDF report success

More public-safe examples are available in assets/screenshots, including alias lifecycle commands, update guidance, report generation, and error states.

Requirements

  • C++23 compiler.
  • CMake 3.25 or newer.
  • Ninja.
  • vcpkg.
  • Azure CLI authenticated with az login.

Azure cost data is read with az consumption usage list; Advisor data is read with az advisor recommendation list. The Azure CLI documentation currently marks Advisor recommendations as GA and Consumption as preview.

Build

cmake -S . -B build -G Ninja \
  -DCMAKE_BUILD_TYPE=Release \
  -DCMAKE_TOOLCHAIN_FILE="$VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake"

cmake --build build
ctest --test-dir build --output-on-failure

Docker

docker build -t azdash .
docker run --rm -it -v "$HOME/.azure:/home/azdash/.azure:ro" azdash cost

Usage

# Cost comparison: current month vs previous matching window
azdash cost

# JSON or CSV output
azdash --output json cost
azdash --output csv waste advisor compute

# Create and use a local subscription alias
azdash alias-sub set prod "00000000-0000-0000-0000-000000000000"
azdash --subscription prod cost
azdash alias-sub list

# Use a specific subscription directly
azdash --subscription "00000000-0000-0000-0000-000000000000" trend

# Trend for selected services
azdash trend "Virtual Machines" "Storage"

# Waste checks
azdash waste
azdash waste advisor compute network

# PDF reports
azdash report cost --path ./reports
azdash report trend "Virtual Machines" --path ./reports/trend.pdf
azdash report waste compute network --path ./reports/waste.pdf

# Local version and update guidance
azdash version
azdash update