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

mini-poker

v2.6.0

Published

Texas Hold'em in your terminal. Solo vs bots or online with friends.

Readme

♠♥ Mini Poker ♦♣

The ultimate Texas Hold'em in your terminal. Build a career from The Basement to the Billionaire's Yacht, grind Sit & Go tournaments, unlock achievements, or play your friends online with a room code.

Install once (Mac / Linux). No admin password needed, and it installs Node.js for you if it's missing:

curl -fsSL https://mini-poker.up.railway.app/install | sh

Windows (PowerShell):

irm https://mini-poker.up.railway.app/install.ps1 | iex

Then, any time, in a new terminal:

mini poker

It updates itself automatically, and solo modes work offline.

Or play instantly with no install at all (over SSH, built into Mac, Linux, and Windows 10+):

ssh -t -p 53121 [email protected]

Game modes

| Mode | What it is | |---|---| | Career | Cash games at 5 venues with rising stakes. Your bankroll, stats and level are saved between sessions. | | Sit & Go | 6-player tournaments where blinds rise every few hands and the top 3 get paid. Includes a free Turbo Freeroll. | | Blackjack | 6-deck shoe where blackjack pays 3:2. Double, split up to 4 hands, surrender, insurance, and a basic-strategy coach. Uses your career bankroll. | | Quick Play | Free chips with your own table settings (bots, stack, blinds). | | Online | Private tables with 4-letter room codes, chat, reconnect, and bots to fill seats. | | LAN | Host on your Wi-Fi with no internet server needed. |

Features

  • Full No-Limit Hold'em rules: side pots, split pots, min-raises, all-in runouts, and the correct heads-up order
  • Detailed cards: rounded corners, pip layouts like real cards, illustrated face cards, extra-large cards for your own hand on big terminals, and 6 card-back designs with an animated sheen
  • Animated table: cards deal from the deck, the flop flips, and chips slide into the pot and over to the winner
  • 6 felt colors and an optional 4-color deck
  • Synthesized sound effects: chip clicks, card flicks, a shuffle, knocks, a win fanfare, and an all-in rumble. Volume is adjustable
  • Bots with personalities: Tight, TAG, Maniac, Loose, and Pro, using Monte-Carlo equity and pot odds. Bots get tougher at higher stakes
  • Game speed: Relaxed, Normal, Fast, or Turbo. After you fold, you can watch the rest of the hand, fast-forward, or skip to the next hand. You can also choose to press Space to deal each hand
  • Progress: XP, levels and titles (Fish to Poker God), detailed stats, and 38 achievements
  • Poker coach (G) suggests a move on your turn, and a pot-odds helper shows the price of every call
  • Accounts & leaderboard on the shared server: everyone logs in with their own username and PIN
  • Mouse support: click buttons and menus
  • TV-style all-in equity, plus a live win-odds meter (O)
  • Daily reset: finish the day under $10,000 and you're topped back up to $10,000 after midnight, plus a +$1,000 login bonus each day
  • Autosave after every hand and every 20 seconds. Saves are crash-safe: if the game quits mid-session, chips you had on the table go back to your bankroll
  • Works at 80×24 and scales up for bigger terminals

Playing with friends

| You want to… | Command | |---|---| | Open the menu | npx mini-poker | | Create an online table | npx mini-poker host | | Join a friend's table | npx mini-poker join K7QX | | Host on your Wi-Fi | npx mini-poker lan | | Join a Wi-Fi game | npx mini-poker lan 192.168.1.20 |

Controls

| Key | Action | |---|---| | F | Fold | | C / Space | Check / Call | | R | Bet / Raise: ←→ ±1 BB, ↑↓ ±5 BB, 1 ½ pot, 2 ¾ pot, 3 pot, 4 max, Enter to confirm | | A | All-in (confirm with Enter) | | Esc | Pause menu: speed, sound, settings, leave the table | | H | Hand log | | O | Win-odds meter | | T | Chat (online) | | B | Rebuy |

Offline play

After npm install -g mini-poker, the mini-poker command needs no internet for Career, Sit & Go, or Quick Play. To play friends with no internet, put everyone on the same Wi-Fi or phone hotspot. One person picks Host on my Wi-Fi and the others pick Join a LAN game.

Running your own server

npx mini-poker server          # WebSocket on $PORT (7777) + SSH on $SSH_PORT (2222)
npx mini-poker --server ws://your-host:7777

Saves live in ~/.mini-poker/. MIT licensed.