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

@sirfitz/backwork-cli

v0.1.0

Published

Command-line client for the backwork.dev observability read API — errors, incidents, and service health from your terminal.

Downloads

8

Readme

@sirfitz/backwork-cli

Command-line client for the backwork.dev observability read API — pull your org's errors, incidents, and service health straight into your terminal or scripts.

npm i -g @sirfitz/backwork-cli
# or run without installing:
npx @sirfitz/backwork-cli errors

Authentication

Create a read-only API key in the dashboard (org dropdown → API keys), then:

export BACKWORK_API_KEY=bwk_xxxxxxxx
bw me            # → ✓ key valid — org Acme (acme)

Keys are org-scoped: the CLI only ever sees your own organization's data.

Commands

bw me                      Verify the key and show its organization
bw errors                  List error groups          (--status, --service, --limit)
bw incidents               List current incidents
bw services                Per-service health
bw help | bw version

Options

| Flag | Description | |------|-------------| | --status <s> | errors: open (default) · resolved · ignored · all | | --service <name> | errors: filter to one service | | --limit <n> | errors: max groups (default 100) | | --json | Raw JSON output — pipe to jq | | --key <bwk_…> | API key (overrides BACKWORK_API_KEY) | | --url <url> | API base URL (overrides BACKWORK_API_URL; default https://backwork.dev) | | --no-color | Disable ANSI colors |

Examples

bw errors --status open --limit 20
bw errors --service checkout-api
bw errors --json | jq '.errors[] | {type, count, message}'
bw incidents
bw services

Self-hosting backwork on your own domain? Point the CLI at it:

export BACKWORK_API_URL=https://backwork.example.com

API

The CLI is a thin wrapper over the public read API (bearer-authed, JSON, org-scoped):

GET /api/v1/me
GET /api/v1/errors?status=&service=&limit=
GET /api/v1/incidents
GET /api/v1/services

MIT © SirFitz