I wrote this post for the Kiroween 2026 hackathon. My entry is Reap, which I built with Kiro for the Resurrection category.
Most old projects carry files that nothing imports anymore, a dependency with known advisories, a file that grew past 900 lines and a TODO from 2019. Old npm libraries often have one more problem. Many of them call util.isString and similar helpers that newer Node.js versions removed, so they crash on a current Node.
Reap works on that in three steps. Scan draws the dead weight on a map, Revive writes a patch for the removed APIs, and Verify runs the old and the new code side by side to check that the patch changed nothing. A fourth part, Watch, rescans a list of repositories every week, and Kiro Crew wrote it.
Scan: the graveyard map
You paste a public GitHub repository or pick one of four bundled samples. Reap reads the file tree and the source through GitHub's API right in your browser, with no server and no API key, and checks the dependencies against OSV.dev.…