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

afk-blackjack

v0.1.0

Published

Terminal blackjack for the afk-arcade — 3:2, stand-soft-17, strategy hints. npx afk-blackjack

Downloads

12

Readme

afk-blackjack

Blackjack at a 39-column terminal table — a game for the afk-arcade to play while your AI agent finishes the job. Practice chips for now; arcade credits later.

npx afk-blackjack

The table

  • 6-deck shoe, blackjack pays 3:2, dealer stands on all 17s
  • Double any first two cards, double after split, split once, insurance
  • Basic-strategy hints glow on the suggested key — toggle with ?
  • ~99.4% return with perfect play, verified by a seeded 2M-hand Monte Carlo simulation

Keys

↑/↓ bet · enter deal · h hit · s stand · d double · p split · i/n insurance · r rebuy (when broke) · ? hints · q quit

Practice chips

You start with 200 practice chips in ~/.afk-blackjack.json. They're play money — when you go broke, r refills the stack. Real arcade credits are coming once the platform credit system ships.

Agent beacon

Launched inside the afk-snake/afk-arcade side pane, the table shows a "YOUR AGENT IS READY" card when your agent finishes (the shared pidfile + SIGUSR2 protocol). enter hops back to your agent.

MIT