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

@fungi.computer/seam

v0.2.6

Published

Ed25519 authentication between Fungi Hub and on-box hosts

Readme

Seam (@fungi.computer/seam)

Seam signs and verifies requests between the Fungi Hub and the hosts it runs on, with Ed25519 signatures and replay protection, and carries the machine-link protocol between them. Keys stay with the operator; the package ships the protocol and the replay guard.

Install

npm install @fungi.computer/seam

Machine link

@fungi.computer/seam/machine-link-protocol owns the shared machine-link audience/dial URL, bounded read/leave and Agent-operation grammar, Agent mail address schema, and createMachineLinkPostChannel. The channel carries ordinary Carrier Post envelopes and receipts; Carrier retains retries. Hosts own live authorization, socket lifetime and durable replay storage. Delegation request keys and execution policy remain with the delegation engine, not Seam.

Quick start

import { SeamReplayGuard } from "@fungi.computer/seam";

const replay = new SeamReplayGuard();
const now = Date.now();
const record = {
  nonce: "00112233445566778899aabbccddeeff",
  now,
  expiresAt: now + 120_000,
};
console.log(replay.admit(record)); // admitted
console.log(replay.admit(record)); // replayed

Core concepts

The sender signs method, audience, path, timestamp, nonce and payload digest. The receiver checks the signature, freshness and replay guard against its pinned keys.

verifySeamRequest accepts one SeamReplayStore. It verifies the signature before awaiting atomic admission, and supplies a deadline covering the complete freshness window, including its last instant. The store must preserve that deadline, record before reporting success, and refuse at its finite capacity rather than evict still-live nonces. Its closed decisions are admitted, replayed, at-capacity, and unavailable; all refusals fail verification.

SeamReplayGuard is the process-local implementation, with a private 10,000-record ceiling. It is not persistent. A durable receiver must bind one store to its reconstruction-stable receiver namespace; storage and numeric capacity are host implementation decisions. There is no memory fallback on persistence failure. A record remains live when expiresAt === now; prune only strictly older deadlines, without assuming insertion order is expiry order.

Examples and checks

The packed runtime fixture at test/stranger/runtime.mjs exercises the public API in a fresh consumer. Run pnpm run stranger after building the package.

Contribute and license

See LICENSE for the MIT terms.

Packed consumer readiness

Run pnpm run build, pnpm run pack and pnpm run stranger in this package. The maintained stranger proof installs only package tarballs into a fresh npm consumer, checks the exact shipped files, runs the public runtime fixture and compiles every JavaScript entrypoint with strict NodeNext and no library-check skip. This qualification does not publish npm releases or push a repository split.

Run pnpm --filter @fungi.computer/seam test for signature, audience, body and replay laws. Computer and game-server host tests exercise its real consumers. See LICENSE.