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

@hookie-sh/hookie

v0.8.0

Published

Hookie CLI – install and run from npm

Downloads

125

Readme

Hookie CLI

Hookie is a webhook ingestion and relay platform. It lets you receive, inspect, and stream webhook events in real time—from the web app or directly in your terminal with this CLI.

This package is the npm distribution of the Hookie CLI. The postinstall script downloads the correct native binary for your platform (macOS, Linux, Windows) from GitHub releases, so you can run hookie without building from source.

Install

# pnpm
pnpm add -g @hookie-sh/hookie

# npm
npm install -g @hookie-sh/hookie

# bun
bun install -g @hookie-sh/hookie

Or run once without installing:

npx @hookie-sh/hookie listen

Requirements: Node.js 18+. Supported platforms: macOS (amd64, arm64), Linux (amd64, arm64), Windows (amd64).

Quick start

  1. Sign in (opens browser):

    hookie login
  2. List your applications:

    hookie apps list
  3. Stream webhook events for an app (or pick interactively):

    hookie listen --app-id <app-id>
  4. Optional: Pin an app to the current repo so you can run hookie listen without flags:

    hookie init

    This creates a hookie.yml in the current directory. The CLI discovers it when you run commands from this repo (or any subdirectory).

Commands

| Command | Description | |--------|-------------| | hookie login | Authenticate with Hookie (Clerk; opens browser) | | hookie logout | Clear local credentials | | hookie apps list | List your Hookie applications | | hookie topics <app-id> | List topics for an application | | hookie listen | Stream webhook events (interactive or with flags) | | hookie init | Create hookie.yml in the current directory |

Listen options

  • --app-id, -a — Subscribe to all topics of an application.
  • --topic-id, -t — Subscribe to a single topic.
  • --forward, -f — Forward each event as a request to a URL (e.g. your local server).
  • --ui — Show the local event UI when using --forward.
  • --org-id — Organization ID (if you use multiple orgs).

Without --app-id or --topic-id, the CLI prompts you to choose an app or topic. If you’re not logged in, hookie listen runs in anonymous mode with an ephemeral channel (handy for quick tests).

Repository config: hookie.yml

In a repo root you can add a hookie.yml to set defaults for that project:

app_id: your-app-id
forward: https://your-server.local/webhooks
topics:
  topic-id-1: https://service-a.local/events
  topic-id-2: https://service-b.local/events
  • app_id / topic_id — Default app (and optionally topic) for hookie listen.
  • forward — Default URL to forward events to.
  • topics — Per-topic override URLs for forwarding.

CLI flags override these values. The CLI looks for hookie.yml from the current directory upward.

Links

License

Apache-2.0