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

@drip-apex/rh

v0.2.1

Published

Public Research Hub CLI bootstrapper for macOS, Windows, and Linux.

Readme

Research Hub CLI

@drip-apex/rh is the public bootstrapper for the DRIP Research Hub command-line interface.

Requirements

Supported systems are macOS, Windows 10 1803+/11, and Linux on x64 or arm64, with Node.js 20.12 or newer and npm on PATH. Release extraction requires tar: macOS includes it, Windows 10 1803+/11 includes system tar.exe (preferred over other PATH entries), and Linux users should install their distribution's tar package. Desktop Linux uses xdg-open for automatic browser opening when available.

Install and start

npm install -g @drip-apex/rh
rh login
rh use <brand-id-or-name>
rh ideas list --compact --json

rh login opens Research Hub in your browser and stores a revocable CLI token. If the browser does not open, copy the complete printed URL into your browser; the CLI keeps waiting for login. Keep the terminal open. Login uses a temporary loopback listener on 127.0.0.1 with a random port. No Windows Firewall prompt is expected because the listener is loopback only.

macOS stores tokens in Keychain when available. Windows, Linux, and macOS without Keychain access use ~/.config/drip/research-hub/config.json (under your home directory on Windows too), with restricted file permissions where supported. Downloaded releases live under ~/.local/share/drip/research-hub. RESEARCH_HUB_TOKEN overrides the stored token. Treat this file as a credential and use rh logout to revoke and remove the login.

rh use saves a default brand and company, so most commands no longer need repeated --brand and --company flags.

Updates

The CLI has two independently updated layers:

  • This small npm bootstrapper checks the npm registry after commands and prints a notice when an update is available. Set RH_NO_UPDATE_CHECK=1 to disable that check.
  • The authenticated private CLI is downloaded from Research Hub, SHA-256 verified, and refreshed automatically when its release changes.

Run rh update to force-refresh the private CLI and update the npm bootstrapper when a newer version exists. If npm cannot write the global install directory, the command prints the exact install command to run with the permissions appropriate for your machine.

Use rh doctor --json to inspect Node, authentication, release, and update status.

Automation

Command payloads remain raw JSON on stdout. Human progress and update notices use stderr. Exit codes are stable: 0 success, 1 general failure, 2 authentication, 3 validation, 4 confirmation required, and 5 conflict.

See the full CLI guide in the Research Hub repository.