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

ocean-blue

v0.2.0

Published

CLI client for Ocean Blue tunneling service

Readme

Ocean Blue CLI

Expose a local app through an Ocean Blue tunnel.

Install

npm install -g ocean-blue

Usage

ocean-blue --server http://localhost:25830

This starts a loopback-only control center and opens it in the browser. Create, start, stop, restart, and remove multiple tunnel profiles without entering a command for each tunnel. Saved profiles are never started automatically. Each connected tunnel owns a separate loopback dashboard; use that tunnel's Open dashboard link for its request log and traffic statistics. The control center does not merge request data from unrelated tunnels.

Use --no-open on a headless machine, or --control-port <port> when the local control center needs a stable port.

Direct proxy mode

The original single-tunnel command remains available for scripts and CI:

ocean-blue proxy --server http://localhost:25830 --local-port 3000 --subdomain myapp --token tk_xxx

The --token value is the tunnel key copied from the Ocean Blue dashboard. If it is omitted, the CLI uses a key saved for that exact server origin and then starts the server auth flow when needed.

Browser UI and local security

The selected Ocean Blue server supplies the Svelte interface, so design updates do not require a new CLI release. Tunnel state and typed command intents cross a versioned MessageChannel; tunnel keys and proxied bodies do not enter the iframe.

The trusted local parent binds only to 127.0.0.1, protects its WebSocket with an unguessable per-process path, and checks the exact Host and Origin. The remote UI cannot choose a host or execute a shell command: it can only propose a validated localhost port and DNS-safe subdomain. Every mutation is shown in a local confirmation layer before it reaches the tunnel manager.

The /cli/control UI shell remains data-free and public when the server uses dashboard password mode. It receives no password cookie or tunnel key. If the remote UI cannot load, no new local port is exposed; already running tunnels continue until the CLI process exits or they are stopped.