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

@loomfsm/repo-memory

v0.3.9

Published

Persistent, model-agnostic structural memory of a code repository — a delta-refreshed markdown brief (with file:line anchors) that warm-starts planning agents so they cite structure instead of re-reading the whole tree each run. Ambient transport, outside

Readme

@loomfsm/repo-memory

Persistent, model-agnostic structural memory of a code repository. It maintains a plain-markdown repo brief — key types, public API, layout, and stack, each with a file:line anchor — so a planning agent cites structure from the brief instead of cold-reading the whole tree on every run. The brief persists across runs under loom's footprint and delta-refreshes cheaply, so the second task on the same project starts from a warm map rather than re-deriving it.

What's inside

  • ensureBrief(projectDir) — builds or delta-refreshes the brief at .loom/memory/<hash>/repo-brief.md. Lists tracked files, content-hashes them, and re-extracts only the files that changed (a content-hash cache carries the rest verbatim); an unchanged tree is reused byte-for-byte. Degrades to a no-op (never throws) on a non-git project, a repo past the size cap, or any error — a stale brief can only cost tokens, never correctness.
  • Importance ranking — the brief orders files by module in-degree (how many other files import them), then public-surface size, fitting the highest-signal contracts into a token budget instead of dumping the tree.
  • Cross-model by construction — the output is plain markdown and JSON. Any model or backend consumes it identically; a cheap pass can author what an expensive planner reads.

It is ambient: no clock or replay state is threaded through it, so it lives entirely outside loom's deterministic kernel — which never depends on this package.

Part of loom

loom drives multi-step LLM agent work — code review, implementation, any review-gated task — as a replay-deterministic state machine: safety invariants enforced at commit time, human gates where they matter, and a complete, replayable audit trail in a local SQLite file.

Most users should install @loomfsm/pipeline (npm i -g @loomfsm/pipeline), which pulls the whole runtime in one step. Install this package directly only if you are assembling your own runtime.

Website · Quickstart · Why loom · GitHub

License

Apache-2.0