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

@hooksbase/cli

v0.3.1

Published

Hooksbase command-line interface for project APIs, schedules, deliveries, DLQ operations, and ingest sends.

Readme

@hooksbase/cli

Official Hooksbase command-line interface. The installed executable name is hooksbase.

Install

npm install --global @hooksbase/cli

Usage

hooksbase auth login
hooksbase projects get --json
hooksbase projects update --file ./project.json --json
hooksbase templates list --json
hooksbase http-packs list --json
hooksbase webhooks list --limit 20 --json
hooksbase webhooks routing get wh_123 --json
hooksbase webhooks deliveries wh_123 --limit 20 --json
hooksbase webhooks email-allowlist list wh_123 --json
hooksbase schedules create wh_123 --file ./schedule.json
hooksbase deliveries bulk-replay --idempotency-key replay-1 --file ./bulk-replay.json
hooksbase event-drains list --json
hooksbase automations create --webhook wh_123 --name "Normalize inbound event" --json
hooksbase automations update auto_123 --file ./automation-patch.json --json
hooksbase automations versions list auto_123 --json
hooksbase automations versions create auto_123 --file ./transform.js --activate --json
hooksbase automations versions create auto_123 --file ./transform.js --module helper.js=./helper.js --compatibility-flag nodejs_compat
hooksbase automations bind wh_123 auto_123 --json
hooksbase automations runs list --automation auto_123 --json
hooksbase automations runs get run_123 --json
hooksbase automations runs egress-events run_123 --json
hooksbase automations runs export --format jsonl --automation auto_123 --limit 100
hooksbase automations quotas --json
hooksbase automations usage --month 2026-05 --json
hooksbase automations templates list --json
hooksbase automations egress list --json
hooksbase automations egress get pol_123 --json
hooksbase automations egress update pol_123 --file ./egress-policy-patch.json --json
hooksbase automations egress credentials rotate pol_123 cred_123 --secret-file ./secret.txt --json
hooksbase audit-logs export --format jsonl
hooksbase files download-delivery wh_123 del_123 0 --output ./attachment.bin
hooksbase usage show --from 1740000000000 --to 1740086400000 --json
hooksbase ingest send --ingest-url https://hooks.hooksbase.com/v1/ingest/hook_123 --ingest-secret whsec_... --file ./payload.json
hooksbase ingest send --webhook-name orders --ingest-secret whsec_... --file ./payload.json --json

hooksbase auth login opens the Hooksbase dashboard by default and creates a project-scoped admin API key for the selected project. For CI or custom environments, pass --api-key or set HOOKSBASE_API_KEY to validate and store an existing project API key. --base-url is still available for custom API hosts, and --app-url / HOOKSBASE_APP_URL can point browser login at a custom dashboard host.

Use hooksbase auth logout --yes to delete the selected local profile without revoking the remote key. Use hooksbase auth profiles delete <name> --yes to delete another local profile.

The CLI supports:

  • profile-based auth with admin and write project API keys
  • current-project inspection/update, project API key management, audit log reads, and webhook template reads
  • HTTP pack reads, webhook destination, routing, classic transform, Starter+ Automations, Code Mode versions, Enterprise egress, automation templates, test-delivery, metrics, backlog, email allowlist, schedule, delivery, replay, DLQ, event-drain, file download, and bulk-operation commands
  • operator notification, alert channel, alert rule, and operator incident commands
  • stable --json output for automation
  • cursor-based pagination flags on remote list commands
  • JSON file-driven create flows for webhooks and schedules
  • public ingest sends without requiring a project API key
  • form ingest remains browser/raw HTTP only

Supported environment variables:

  • HOOKSBASE_PROFILE
  • HOOKSBASE_BASE_URL
  • HOOKSBASE_API_KEY
  • HOOKSBASE_APP_URL