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

@nineup/cli

v0.1.1

Published

Official command-line interface for Nineup — manage monitors, status pages, and incidents from the terminal.

Readme

@nineup/cli

Official command-line interface for Nineup — status pages that show you what broke and why.

npm install -g @nineup/cli
nineup login

What it does

Everything you can do in the Nineup dashboard, from a terminal:

  • Monitor CRUD + on-demand checks, pause/resume, ping history, daily stats
  • Status page CRUD, monitor attachment, custom domains, browser preview
  • Incident CRUD, manual updates, resolve/reopen
  • Account profile, browser session management, plan + usage info
  • Personal Access Token management for CI / agents
  • Public status read (no auth) by slug

Quick start

# Pair this CLI with your account (opens browser; no password typed)
nineup login

# Who am I?
nineup whoami

# Create a monitor
nineup monitor create --name "API" --url "https://api.example.com/health"

# List all down monitors and dump their ids
nineup monitor list --json | jq -r '.data[] | select(.currentStatus=="down") | .id'

# Open a public status page
nineup page open my-service

Authentication

  • Interactive (developer): nineup login runs a device-flow pairing — the CLI prints a code, you open a URL, approve. No password ever enters the terminal.
  • Non-interactive (CI / agents): mint a Personal Access Token from /dashboard/settings/cli (or via nineup auth tokens create), then export NINEUP_TOKEN=nup_....

Credentials are stored at ~/.config/nineup/credentials.json (chmod 600). Multiple accounts are supported via --profile <name> or NINEUP_PROFILE.

Output formats

--output table   # default in a TTY (pretty unicode tables, colored)
--output json    # default when piped; stable envelope; see docs/AGENTS.md
--output ndjson  # one resource per line, no envelope
--output yaml | tsv | csv
--fields a,b,c   # column / projection selector

--json is shorthand for --output json. Errors always go to stderr — your stdout pipeline stays clean.

Stdin

Any create or update accepts JSON on stdin via the - positional:

cat monitor.json | nineup monitor create -

Command tree

nineup login | logout | whoami
nineup health | overview | status <slug> | version-info

nineup auth login | logout | whoami
nineup auth tokens list | create | revoke <id>

nineup account get | update [--name]
nineup account sessions list | revoke <id> | revoke-all

nineup monitor list [--page <id>]
nineup monitor get <id> | create | update <id> | delete <id>
nineup monitor pause <id> | resume <id> | check <id>
nineup monitor pings <id> [--limit N --offset N]
nineup monitor stats <id> [--days N]

nineup page list | get <id> | create | update <id> | delete <id>
nineup page monitors <id> | open <slug>
nineup page attach add <pageId> <monitorId>
nineup page attach remove <pageId> <monitorId>

nineup incident list [--status --page]
nineup incident get <id> | create | update <id> | delete <id>
nineup incident resolve <id> | reopen <id>
nineup incident updates add <id> --status --message
nineup incident updates list <id>

nineup plan get
nineup billing portal

nineup config get [key] | set <k> <v> | path

nineup commands       # full command tree as JSON (for agents)
nineup schema dump    # JSON Schema for every response shape

Every command supports nineup <cmd> --help.

Agents & scripting

See docs/AGENTS.md for the JSON contract, exit codes, and integration recipes.

Releasing

GitHub Actions handles the publish flow — see docs/RELEASING.md.

Environment variables

| Var | Effect | |---|---| | NINEUP_API_URL | API base URL (default https://nineup.dev) | | NINEUP_TOKEN | PAT, takes precedence over saved credential | | NINEUP_PROFILE | named credential set to use | | NINEUP_OUTPUT | default output format | | NINEUP_NO_COLOR / NO_COLOR | disable color | | NINEUP_DEBUG=1 | verbose stderr |

License

MIT