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

@hypedoc/cli

v1.0.2

Published

CLI for Hype Doc — log and track your wins from the terminal

Downloads

27

Readme

@hypedoc/cli

CLI for Hype Doc: log and track your wins from the terminal.

Installation

# Run directly (no install needed)
npx @hypedoc/cli

# Install globally via npm
npm install -g @hypedoc/cli

# Homebrew
brew install myhypedoc/tap/hype

# Binary download
# See GitHub Releases for platform-specific binaries

Requires Node.js 24+ (for npm/npx).

Quick Start

# 1. Authenticate (opens browser)
hype auth login

# 2. Log your first win
hype log "Shipped the new dashboard"

# 3. View your wins
hype wins

Authentication

# Interactive login via browser (OAuth)
hype auth login

# Direct token entry (for CI/scripts)
hype auth token <your-api-token>

# Check auth status
hype auth status

# Log out
hype auth logout

Credentials are stored in ~/.hypedoc/config.json.

Commands

Log a win

Run hype log with no arguments for an interactive experience, or pass options directly:

# Interactive mode (walks you through space, tags, and date)
hype log

# Direct mode
hype log "Shipped the new dashboard" --space work --tags impact,product
hype log "Gave a talk at the team offsite" --date 2026-02-15

| Flag | Description | |------|-------------| | --space, -s | Space name (e.g. "work", "personal") | | --tags, -t | Comma-separated tags | | --date, -d | Date (YYYY-MM-DD), defaults to today |

Wins

# List wins
hype wins
hype wins --space work --last 7d
hype wins --tag impact --last 30d
hype wins --limit 5

# Show a specific win
hype wins show <id>

# Edit a win
hype wins edit <id> --body "Updated text" --tags newtag

# Delete a win
hype wins delete <id>

| Flag | Description | |------|-------------| | --space, -s | Filter by space name | | --tag, -t | Filter by tag | | --last, -l | Time window (e.g. 7d, 2w, 1m) | | --limit, -n | Max results (default: 20) |

Win IDs are shown as short prefixes in hype wins output. You can use the prefix or the full UUID.

Spaces

# List spaces
hype spaces

# Create a space
hype spaces create "work" --emoji "💼"

# Rename a space (optionally change emoji)
hype spaces rename "work" "career" --emoji "🚀"

# Delete a space
hype spaces delete "old-space"

Tags

# List tags
hype tags

# Rename a tag
hype tags rename "old-name" "new-name"

# Delete a tag (wins are kept, only the tag is removed)
hype tags delete "unused-tag"

Configuration

Config file: ~/.hypedoc/config.json

Environment variable overrides:

| Variable | Description | |----------|-------------| | HYPEDOC_TOKEN | API token (overrides config file) | | HYPEDOC_API_URL | API base URL (overrides config file) |

Error Handling

The CLI provides clear error messages for common scenarios:

  • 401: Authentication failed, run hype auth login
  • 402: Free plan win limit reached, upgrade at https://app.myhypedoc.com/billing
  • 429: Rate limited, wait and retry

Development

mise run setup     # pnpm install
mise run dev       # tsc --watch
mise run build     # tsc
mise run test      # vitest run
mise run lint      # oxlint
mise run fmt       # oxfmt