๐Ÿน 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 coding on a laptop in a black cat hoodie
// The buyer's email is not customer_email
const email = session.customer_details?.email
?? null;

The kits

One-time purchase. Coming to Gumroad this week.

Hamichi Webhook Kit cover

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.

  • 93 tests, 100% line coverage. 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
Coming soon
Hamichi Billing Kit cover

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
  • 34 tests, 100% coverage. 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
Coming soon
Hamichi Seller Ping Kit cover

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.

  • 83 tests, 100% line coverage. 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
Coming soon

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. 93, 34 and 83 tests respectively, with a coverage gate.

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 do what the listing says on a supported Node version, email us within 14 days and we'll fix it or refund you.

Field notes

All guides →

Want a note when the listings go up?

Coming to Gumroad this week. No newsletter form. Email us and we will reply when the listings are live.

Email hello@hamichi.dev
X: coming soonInstagram: coming soon