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

@lmliheng/requirements-box

v0.3.7

Published

A requirements box: one keyed page where the user files what they want done, a scheduled task that wakes the agent to work through them, and a per-round report by mail — the service being a single dependency-free Node file with a JSON store and a keyed AP

Readme

requirements-box

A requirements box: one page where the user writes down what they want done, a scheduled task that wakes the agent to work through it, and a report by mail per round — so asking for something does not cost a conversation, and nothing gets lost between them.

user files a request on the page
        │
        ├─ status=new … the page keeps it, the schedule waits
        ▼
every <period> the agent wakes, reads the list, marks each item doing, and works through up to three
        │
        ├─ done      → committed, gated, shipped; item archived, one mail per round
        ├─ blocked   → the question it could not answer, mailed to the user
        └─ rejected  → why not, in the same mail

What's inside

| Piece | What it is | | --- | --- | | kit/requirements.mjs | The whole service: a JSON store with atomic writes, the keyed API (list/create/read/patch, the patrol cadence, and the do-it-now trigger), and it serves the page. Node standard library only — no build step, no dependency tree. | | kit/requirements.html | The page: file a request, edit or withdraw one, select several and act in bulk, schedule an item, pause the patrol or change its cadence, and a "do it now" button. | | kit/serve.mjs | A standalone server for the box alone, so it can run on its own port without touching anything else already on the machine. | | kit/patrol.md | The protocol the scheduled round follows: take work, mark it doing before touching it, triage, gate, ship, mail, archive — and the red lines. | | kit/install.mjs | Lays the files down, generates the key, writes box.config.json, writes the schedule, and prints the two commands left to run. |

Why it exists

  • Asking is not a conversation. The user's own words are on the page; the agent reads them when it wakes, not when it happens to be listening.
  • No dependency tree for a form. One Node file, one JSON store — nothing to install, nothing to upgrade, and the whole state is a file you can read.
  • The schedule is a file, not a black box. The round is a .toml the platform re-reads; the cadence, the on/off switch and the "do it now" button all write that one file.
  • Doing it now is one click. Waiting for the next tick is the common complaint, so the page can start a session immediately, and can do it for just the items the user selected.

Install

node <skill dir>/kit/install.mjs --dir ~/requirements-box --workspace ~/my-project --port 3007 --period 2h

Then start node ~/requirements-box/serve.mjs and open the printed URL (the key rides in ?key= once and the page remembers it). Everything machine-specific lives in the generated box.config.json; environment variables override it.

Notes

  • The key is the ability to make the agent work. It lives in key.txt (0600) and must not reach a commit, a log or a mail body.
  • The page is meant to be reachable by one person, not published: bind 127.0.0.1 unless the user asked for a wider listen, and never expose it without the key.
  • The patrol protocol is deliberately in one markdown file the user can rewrite — the flow is theirs to change.