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

oddsockets

v1.1.15

Published

Agent-first CLI for OddSockets real-time messaging. Signup, publish, subscribe, presence — from the command line.

Readme

oddsockets

npm version Real-time Zero deps MCP

Real-time messaging for coding agents — pub/sub, presence and history your agent provisions itself, from the command line.

Prototype in one command. Ship the same channels to production — no rewrite.

Your agent can write the app but can't give it a real-time backbone without you stopping to wire up a messaging service. oddsockets is the CLI the agent runs itself: one install, and it signs up, mints its own key, and starts publishing and subscribing to live channels — the same channels that carry your production traffic. Zero dependencies.

Works with: Claude Code · Cursor · Cline · Windsurf · Aider · Codex · any terminal

oddsockets demo — signup to your first real-time message in 60 seconds

Signup to your first real-time message in 60 seconds — watch the full demo.

See it live

Each demo below is a real CLI session — a throwaway account, a real key, real messages over the live cluster — stitched to the developer dashboard showing that same traffic. Click any tab for the full-res video.

| Signup → first message | Live pub/sub | Who's online | Agent integration | |---|---|---|---| | Signup to first real-time message | Live pub/sub on one channel | Presence — who is online now | One-line agent integration + history | | Fresh app, first message in seconds | One channel, two messages, instant | Live member list | publish + history in one line |

Watch the full set on oddsockets.com →

Install

npm install -g oddsockets

Quick Start

# 1. Sign up (instant API key, no email verification)
oddsockets signup my-app --local

# 2. Publish a message
oddsockets publish my-channel "Hello from the CLI!"

# 3. Subscribe (live tail)
oddsockets subscribe my-channel

# 4. Check who's online
oddsockets presence my-channel

Pub/sub — one channel, real-time

The core primitive: publish to a channel, subscribe to tail it live. Every subscriber gets every message the instant it lands — no polling, no queue to run.

oddsockets subscribe room-42 &                     # live tail in the background
oddsockets publish room-42 "hello from the CLI"    # arrives on the tail instantly
oddsockets publish room-42 --file payload.json     # publish structured data from a file

Presence — who's online, right now

Ask any channel who's connected. Presence is tracked server-side and updates in real time as clients join and leave.

oddsockets subscribe lobby &     # join the channel
oddsockets presence lobby        # live member list

History — replay what you missed

Channels keep a rolling message history, so a client that connects late (or your agent after a context reset) can catch up.

oddsockets history agent-bus --limit 10

Agent Integration

Add to your CLAUDE.md, .cursorrules, .clinerules, or .windsurfrules:

## OddSockets
Use the `oddsockets` CLI for real-time messaging.
Key is in .oddsockets/config.json (auto-loaded).

oddsockets status                           # cluster health
oddsockets publish my-channel "message"     # send message
oddsockets subscribe my-channel             # live tail
oddsockets presence my-channel              # who's online
oddsockets keys                             # list API keys

MCP Server (remote)

Prefer tools over a CLI? No install needed — point Claude Web, Claude Desktop, Cursor, Cline, Windsurf, Raycast, or any MCP client at our hosted server and your agent gets 12 native tools: publish, history, presence, channels and API-key management.

URL:  https://mcp.oddsockets.ai/sse
Auth: Authorization: Bearer YOUR_API_KEY

No key yet? Connect keyless and call oddsockets_get_started, then oddsockets_signup to self-provision an app and mint your own key — then reconnect with the Bearer header to unlock every tool. Same account, same channels as the CLI.

Commands

Setup

| Command | Description | |---------|-------------| | oddsockets signup <app> [--email x] [--local] | Sign up, get instant API key | | oddsockets login --key KEY [--local] | Save existing API key | | oddsockets logout [--local] | Clear config | | oddsockets me | Account info + plan | | oddsockets status | Cluster health + platform stats |

Messaging

| Command | Description | |---------|-------------| | oddsockets publish <channel> "message" | Publish message | | oddsockets publish <channel> --file data.json | Publish from file | | oddsockets subscribe <channel> | Live tail (Ctrl+C to stop) | | oddsockets history <channel> [--limit 10] | Message history | | oddsockets presence <channel> | Channel members |

Channels

| Command | Description | |---------|-------------| | oddsockets channels | List channels | | oddsockets channel create <name> | Create channel | | oddsockets channel delete <name> | Delete channel |

API Keys

| Command | Description | |---------|-------------| | oddsockets keys | List API keys | | oddsockets key create "name" | Create new key | | oddsockets key revoke <id> | Revoke key |

Flags

  • --json — Machine-readable JSON output (every command)
  • --key KEY — Override API key for one command
  • --local — Use project-local config (.oddsockets/)
  • --watch — Live-refresh admin monitors (fleet/worker/session/analytics)
  • --interval N — Refresh interval in seconds for --watch (default 5)
  • --confirm — Required for destructive admin ops (drain, block, cleanup, …)
  • --help — Help

Config Priority

  1. --key flag
  2. ODDSOCKETS_API_KEY environment variable
  3. .oddsockets/config.json in project directory
  4. ~/.oddsockets/config.json in home directory

Pricing

7-day free trial on every plan. Card required (secure Stripe checkout), nothing charged during the trial — cancel before it ends and you pay nothing. Agents and the CLI get a 48-hour keyless window to prototype before a key is needed. Plans from $29/mo. Details.

SDKs

Prefer to build it into your app? OddSockets ships a native SDK for every major language and runtime — same real-time channels, pub/sub, and presence, idiomatic to each stack. Each card links to its maintained repo; for a 60-second install + connect snippet in your language, see examples/.

| Language / Runtime | Repo | Highlights | |--------------------|------|------------| | Node.js | oddsockets-nodejs-sdk | Server-side, npm | | JavaScript | oddsockets-javascript-sdk | Browser + Node.js | | TypeScript / Svelte | oddsockets-svelte-sdk | Reactive stores | | React Native | oddsockets-react-native-sdk | Mobile | | Flutter / Dart | oddsockets-flutter-sdk | Cross-platform mobile | | Python | oddsockets-python-sdk | AsyncIO | | Go | oddsockets-go-sdk | Goroutine-safe | | Rust | oddsockets-rust-sdk | Tokio async | | Java | oddsockets-java-sdk | Maven | | Kotlin | oddsockets-kotlin-sdk | Coroutines | | C# / .NET | oddsockets-csharp-sdk | NuGet | | C++ | oddsockets-cpp-sdk | C++17 | | C | oddsockets-c-sdk | Embedded / IoT | | PHP | oddsockets-php-sdk | Composer | | Ruby | oddsockets-ruby-sdk | Gem | | Swift | oddsockets-swift-sdk | SPM + Combine | | Elixir | oddsockets-elixir-sdk | GenServer / OTP | | Unity | oddsockets-unity-sdk | MonoBehaviour | | Unreal Engine | oddsockets-unrealengine-sdk | UE5 |

Get Accredited

Prove you can build and operate real-time features on OddSockets — channels, presence, pub/sub, delivery guarantees and production liveops — on the stack itself. Three tiers (TCU / TCA / TCP), certified through tyga.games and delivered on ClassaaS.

Get accredited on tyga.games →

Links