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

words-tui

v0.1.0

Published

Multiplayer word game in your terminal — create a lobby, share the invite code, play with up to 5 people.

Readme

Words TUI

A two-player asynchronous word-tile game built with Effect, OpenTUI, Alchemy v2, and Cloudflare Durable Objects.

Development

bun install
bun run test
bun run check
bun run dev

bun run dev uses local Alchemy state and workerd, so it does not require Cloudflare credentials. Run the terminal client against it:

WORDS_SERVER_URL=http://localhost:8787 bun run cli

Deploy the Worker and its SQLite-backed Durable Object:

bun run deploy

Production deployment uses Alchemy's Cloudflare-hosted state store and requires alchemy login first.

Build a standalone executable for coworkers who do not have Bun installed:

bun run build:binary
./dist/words-tui

The client defaults to the deployed Worker at https://wordstui-wordsworker-dev-kit-dz7zuwcr4dg7c7lg.kit-langton.workers.dev. Set WORDS_SERVER_URL only when targeting a local or alternate server.

Current Rules

The playable slice supports two to five players, invite-code lobbies, persistent games, English dictionary validation, premium squares, live score previews, direct letter typing, passing, reconnecting, and live turn updates. The host presses Ctrl-S once at least two players have joined. Blank tiles and exchanges are intentionally deferred.

Game controls:

  • Type a letter from your rack to stage it at the highlighted valid square.
  • Use the arrow keys to move between valid placement squares.
  • Press Backspace to undo the last staged tile.
  • Press Enter to submit the move.
  • Press Ctrl-P to pass and Ctrl-Q to quit.