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

@rbrowser/cli

v0.1.0

Published

Launch RBrowser with a local or remote (SSH) directory as a file server.

Downloads

134

Readme

@rbrowser/cli

NPM CLI for RBrowser. Serve any folder (local or remote-over-SSH) and open it in RBrowser.

npm install -g @rbrowser/cli
rb open .
rb open user@server:/data/projects

What it does

rb open <path> starts a small HTTP file server bound to a random free port and prints a URL. Open the URL to browse, preview, and operate on the files with the full RBrowser UI. The frontend is bundled with the package, so no internet connection is required after install.

Usage

rb open <path> [options]

Arguments:
  path                       local directory or user@host:/remote/path

Options:
  -p, --port <port>          port to bind (default: random free port)
  --host <addr>              bind address for the file server (default: 0.0.0.0)
  --frontend <url>           RBrowser frontend URL, or "bundled". Default: bundled.
  --public                   force the printed URL to use this machine's LAN/public hostname
  --localhost                force the printed URL to use 'localhost' (for ssh -L tunneling)
  --token <token>            auth token (default: random). Use --no-token to disable auth.
  --no-token                 disable token authentication (NOT recommended on shared hosts)
  -h, --help                 show help
  -v, --version              show version

Examples

# Local
rb open .
rb open ~/projects

# Remote (uses your local ssh client + ~/.ssh/config)
rb open me@gpu-box:/data/exp42

# In a tmux/ssh session, force LAN URL so you can paste it in your laptop browser
rb open . --public

# Use a tunnel (ssh -L 9000:localhost:9000) and pin the printed URL to localhost
rb open . --localhost --port 9000

# Disable auth (only inside trusted networks!)
rb open . --no-token

Requirements

  • Node.js >= 18
  • For remote paths: ssh available on PATH and key-based auth set up to the target host. Remote shell must support standard POSIX cd, stat, dd, cat, mkdir, mv, rm, touch.

Security

By default a random per-session token is required for every /api/* and /files/* request. The token is embedded in the printed URL. Anyone with the URL has full read/write access inside the served directory — treat it like a password.

License

See LICENSE.