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

@shiit/bird-dog

v1.0.4

Published

A mail system backed by a dog that bites — @shiit/watchdog (the Oban-style job engine) + the pigeon (agent mail)

Readme

@shiit/bird-dog

A mail system backed by a dog that bites.

A bird dog is a hunting dog, bred to find birds. Pigeons were bred to carry letters. This dog brings home the mail. Even from the hands of a dead bird.

        ┌────────────────── @shiit/bird-dog ──────────────────┐
mail ──►│ pigeon: validate the envelope, carry it as payload  │
        │ watchdog: keeps the books: queue → claim → settle   │
        │ pigeon: on settle → turn record + alert to replyTo  │
        └─────────────────────────────────────────────────────┘

The dog and the bird

  • @shiit/watchdog: the dog. Keeps the books (the durable job store) and bites when things need bitten: the sweep, the concurrency cap, the crash recovery. The payload is a bird it never pecks. Opaque, untouched, returned whole.
  • the pigeon: the bird. Carries the mail. The envelope (Mail, Zod-validated at the door), the transport (the outbox), the turn record, the completion alert.

What the hunt looks like

  • ingest(mail, opts?): validate the envelope, drop it in the yard. The envelope rides as the dog's opaque payload. opts.priority and opts.retry (opt-in, default never) are engine fields, passed at the door, never smuggled on the envelope.
  • claim(queue) / complete(jobId, { outcome, result? }): the bracket around your work. outcome is completed | error | cancelled | interrupted. result is your cargo.
  • readPriorityMessages(queue): mid-run steer. Priority birds get handed over at the turn boundary.
  • tick(): the dog sweeps and claims; the pigeon drains the outbox.
  • abort(queue): settles the executing job as cancelled. The yard is never purged. Cancel is scoped to the current run, always.

Why the dog finds the letters

The dog settles and calls onSettled. The pigeon flies the reply. The turn record goes on the books, and a completion alert goes to every parent named in the envelope's replyTo. Loud, not silent. A crash settles interrupted and the parent hears about it. Cancel is the one quiet outcome.

And when the pigeon dies mid-flight (isolate eviction, a crash, a deploy) the mail is still in the dog's yard. Durable, retrievable, never lost. That's the breed.

The bird is opinionated on purpose: the envelope carries agent vocabulary (to.sessionId, replyTo, alert) because that's what a mail carrier is for. The dog knows none of it.

Oban for DOs, with the mail layer the boring part everyone skipped.

Part of the shiit stack. MIT.