๐Ÿน TypeScript ยท Node 22.18+ ยท zero runtime dependencies

hamichi

Small TypeScript kits for the part of billing that breaks at 3 a.m.

Tested. Zero runtime dependencies. Honest about what they don't do. Stripe will send the same event twice, and out of order. The buyer's email is on customer_details.email, not the prefilled customer_email. These are small modules you drop into an app you already have.

Hamichi the hamster in a black cat hoodie, falling asleep at a laptop on a late-night shift
// The buyer's email is not customer_email
const email = session.customer_details?.email
?? null;

The kits

One-time purchase. Buy a kit, or get every kit for $59.

Hamichi the hamster catching two identical envelopes while a third arrives late

Hamichi Webhook Kit

$29

Stripe webhooks that survive retries. Verifies signatures on the raw body, processes each event once across servers, fulfills each Checkout Session once, and ignores late subscription events.

  • Node 22.18+. Zero runtime dependencies
  • Signature checks that handle secret rolls (several v1 values)
  • One fulfillment per Checkout Session, including delayed payment methods
  • Postgres and Redis examples for running more than one server
Buy on Gumroad
Hamichi the hamster as a bouncer, holding a gold Pro pass beside a velvet rope

Hamichi Billing Kit

$19

One answer to "can this subscriber use Pro?" A TypeScript access policy for Stripe subscriptions: all eight statuses, scheduled cancellations, and events that arrive in the wrong order. Unknown statuses get no access.

  • accessFor(): yes or no, the reason, and what to tell the customer
  • Node 22.18+. Zero runtime dependencies
  • applyBillingEvent() spots duplicates, stale events, and same-second ties
  • Reads current_period_end from both old and new Stripe API versions
Buy on Gumroad
Hamichi the hamster sorting sale and refund slips next to a service bell

Hamichi Seller Ping Kit

$24

Gumroad pings to licenses, in any order. Checks pings are real, handles refunds, partial refunds, disputes and cancellations, and can confirm a sale against the Gumroad API.

  • Node 22.18+. Zero runtime dependencies
  • X-Gumroad-Signature checks, plus a URL-token mode for unsigned API pings
  • Cancellation keeps access until the paid period ends
  • Lemon Squeezy order webhooks are included for existing stores. Lemon Squeezy shuts down on 31 March 2027 and is not taking new sign-ups
Buy on Gumroad
Hamichi the hamster holding a paid receipt and a 1x stamp, next to a null slip and a red mailbox

Hamichi Checkout Email Kit

$19

The buyer email is not on customer_email. Finds the buyer on a Stripe Checkout Session, including guest checkouts and Payment Links, and sends the receipt or download once.

  • Node 22.18+. Zero runtime dependencies
  • resolveBuyer() reads customer_details.email, not the prefill field
  • Guest checkouts and Payment Links where customer is null
  • sendReceiptOnce(): your mailer runs once per Session, including Stripe retries
Buy on Gumroad
Hamichi the hamster holding a wrapped gift with a four-leaf clover tag
All kits, one price

Hamichi Kits: all kits, one price

$59

Save $32 vs buying separately ($91).

Every Hamichi kit in one zip. Stripe retries, a single answer for subscriber access, Gumroad pings that still end with the right license when a refund arrives first, and the buyer email when customer_email is empty. One developer license covers every kit. Future kits are added as free updates.

  • Webhook Kit: verify, dedupe, and fulfill each Stripe Checkout Session once, including when Stripe sends the event twice or late
  • Billing Kit: accessFor(subscription) for all eight Stripe statuses, so status === "active" is not the only door
  • Seller Ping Kit: Gumroad pings, refunds, disputes and cancellations merged so arrival order doesn't decide the license
  • Checkout Email Kit: find the buyer on a paid Checkout Session and send the receipt once, even when customer_email is null
  • Node 22.18+. Zero runtime dependencies. Future kits are added to this bundle as free updates
Buy the bundle on Gumroad
Hamichi the hamster holding a wrapped gift with a four-leaf clover tag

Why Hamichi

What these kits are, and what they refuse to be

Tested

Tests you can run in a minute

Each kit ships with a node --test suite that signs payloads with real HMAC headers. Run it in CI with zero network calls and no live Stripe account.

Small

No starter app baggage

You already have a backend. These are focused TypeScript modules, with Express, Next.js and NestJS examples where they apply. They will not replace your database or auth.

Licensed for client work

Pay once, ship anywhere

Single-developer commercial license covers your own products and client projects. Don't resell the kit itself. If a kit doesn't match its listing, email us within 14 days and we'll refund you.

Field notes

Selling software, and handling billing in production. All guides →

Hamichi the hamster wearing glasses and reading a stack of docs

All guides →

Hamichi the hamster holding a steaming mug of coffee

Questions before you buy?

The kits are on Gumroad now. No newsletter form. Email us and a hamster answers.

Email [email protected]
X: coming soonInstagram: coming soon