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

az-workbook

v0.1.0

Published

Local CLI to preview Azure Workbook JSON files in the browser with live reload. Uses your local 'az' CLI for auth. Unofficial.

Readme

az-workbook

Unofficial. Not affiliated with, endorsed by, or supported by Microsoft. "Azure", "Azure Monitor", "Application Insights", and "Workbooks" are trademarks of Microsoft Corporation; used here for descriptive purposes only. This tool consumes the public workbook JSON schema and the public Azure ARM / Log Analytics query APIs.

Local CLI to preview Azure Monitor / Application Insights workbook JSON files in your browser with live reload. Useful for the inner-loop while editing a workbook checked into source control.

Auth uses your local az CLI — no app registration, tenant ID, or client ID required.

Install

npm install -g az-workbook
# or
npx az-workbook ./my-workbook.json

Usage

az login                              # once
az-workbook ./my-workbook.json \
  --resource /subscriptions/<sub>/resourceGroups/<rg>/providers/Microsoft.Insights/components/<ai>

Opens http://localhost:3000. Editing the JSON in your editor reloads the browser automatically.

Options

-p, --port <n>        Port (default 3000)
-r, --resource <id>   Default Log Analytics / App Insights resource ID
    --no-open         Don't auto-open the browser
-h, --help            Show help

You can also paste the resource ID in the UI (saved to localStorage).

What's supported

A subset of the workbook schema (good enough for many real workbooks, not everything):

  • Item types: text/markdown (1), query (3), parameters (9)
  • Parameters: text (1), dropdown (2), time range (4)
  • Visualizations: table, timechart, barchart, piechart, tiles, text
  • Other: conditional visibility, custom width, basic format options (thresholds, column bar)

Not supported: groups, links/tabs, metrics, resource pickers, query-backed parameters, grid heatmaps, map/graph/scatter charts, ARM/Resource Graph queries (KQL Logs only).

How it works

  • Node server serves a bundled SPA.
  • Browser POSTs queries to /api/query.
  • Server runs az account get-access-token and forwards the query to ARM (management.azure.com/.../query).
  • Token is cached in-memory until expiry.

Development

npm install
npm run dev      # esbuild watch + html copy
# in another shell:
node src/cli.js ./some-workbook.json

License

MIT