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

@rljson/fs-agent

v0.2.3

Published

Rljson fs-agent description

Readme

Trouble shooting

Development and test-environment problems. For problems running the agent, see README.public.md.

Tests fail in ways that do not reproduce

Run the suite the way package.json defines it. vitest run without --no-file-parallelism puts twenty-six integration files — real servers, real sockets, real watchers, real timers — in contention over the cores, and invents failures that look exactly like product defects. Four different tests once failed across four CI runs of the same commit, each passing on re-run.

If a single mesh scenario is flaky, that is information, not noise: run it eight times before concluding anything either way.

A test leaves folders behind

The mesh and client–server suites create test-temp-* directories in the repository root and remove them in afterEach. A run killed mid-test leaves them, and a stale one can make the next run read someone else's state:

rm -rf test-temp-*

The coverage gate fails but every test passes

Expected: the gate is 100 % on all four metrics. The text reporter omits fully covered files, so an empty table means everything is covered, and any file that appears is the one to look at — with its uncovered line numbers in the last column.

Before reaching for /* v8 ignore */, check whether the branch is genuinely unreachable. If it is, say why after @preserve. If it is reachable, it wants a test.

A golden fails after an unrelated change

test/goldens/example.log is a snapshot of the agent's own field layout, so adding or removing a private field changes it legitimately:

pnpm updateGoldens
git diff test/goldens/      # READ this — that is the point of the step

Accepting a golden without reading the diff is how a real behaviour change gets recorded as a formatting one.

A mesh test hangs instead of failing

converged() and settlesOn() poll until a timeout. A hang to the end of the timeout means the fleet never agreed, and whyNot(result) names the paths that differ — assert on it rather than on converged alone, or the failure message tells you nothing.

A node that was cut() and never heal()ed will never converge. In the harness, cut is both directions, mute is outbound only, deafen is inbound only, and down/up stop and restart the agent while leaving the folder reachable.

VS Code on Windows: debugging is not working

Date: 2025-03-08

⚠️ On Windows, check the repository out on drive C. There is a bug in the VS Code Vitest extension (v1.14.4) that prevents test debugging from working: https://github.com/vitest-dev/vscode/issues/548. Check from time to time whether it has been fixed, and remove this note when it has.