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

@dev-anywhere/relay

v0.4.33

Published

Relay server for DEV Anywhere — bridges local AI CLI proxies to remote web clients via WebSocket.

Readme

@dev-anywhere/relay

Relay server for @dev-anywhere/proxy — bridges local AI CLI proxies to remote web clients via WebSocket.

Install

npm install -g @dev-anywhere/relay

This installs the dev-anywhere-relay command globally.

Requires Node.js >= 20.

Quick start

# Minimal, plaintext WS on port 3100:
PORT=3100 dev-anywhere-relay

# With auth tokens (recommended for any public relay):
RELAY_PROXY_TOKEN="$(openssl rand -hex 24)" \
RELAY_CLIENT_TOKEN="$(openssl rand -hex 24)" \
PORT=3100 dev-anywhere-relay

Endpoints

| Path | Purpose | | --------- | --------------------------------------- | | /health | HTTP GET — health probe | | /status | HTTP GET — proxy/client counts | | /proxy | WS — proxy daemon connection | | /client | WS — web SPA / mobile client connection |

Environment variables

| Variable | Default | Notes | | -------------------- | ------------------------------- | -------------------------------------------------- | | PORT | 3100 | HTTP + WSS listen port | | DATA_DIR | ~/.dev-anywhere/relay-data | Persistent state. Set to empty string to disable. | | HEARTBEAT_INTERVAL | 30000 (ms) | WS ping cadence | | RELAY_PROXY_TOKEN | unset (open /proxy endpoint) | When set, /proxy rejects connections without it | | RELAY_CLIENT_TOKEN | unset (open /client endpoint) | When set, /client rejects connections without it | | LOG_LEVEL | info | pino log level |

Production warning: always set both RELAY_PROXY_TOKEN and RELAY_CLIENT_TOKEN. Without a client token, anyone who can reach the relay can connect to /client, list proxies, and attempt to bind to a proxy.

For the bundled web client, open the app once with ?relayToken=<RELAY_CLIENT_TOKEN> in the page URL. The token is stored in local browser storage and appended to /client WebSocket connections.

TLS

This package serves plain HTTP + WS. For production, put it behind nginx / Caddy / Cloudflare with a TLS termination. One-liner turnkey setup (docker compose + nginx + certbot) is available via install-relay.sh in the repo.

Using the embedded server programmatically

import { createRelayServer } from "@dev-anywhere/relay/server";
import pino from "pino";

const relay = createRelayServer({
  port: 3100,
  logger: pino(),
  proxyToken: process.env.RELAY_PROXY_TOKEN,
  clientToken: process.env.RELAY_CLIENT_TOKEN,
});

License

MIT © catli