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

@steve02081504/fount-p2p

v0.0.6

Published

fount federation P2P layer — link, trust graph, mailbox, DAG, EVFS.

Downloads

1,024

Readme

@steve02081504/fount-p2p

fount federation P2P layer: node identity, link handshake, TrustGraph, Mailbox store-and-forward, DAG timeline, EVFS entity files.

Used by

Install

npm install @steve02081504/fount-p2p

Requires Node.js ≥ 20 (ESM + import ... with { type: 'json' }).

Quick start

import { startNode, createScopedLinkRoom, ensureUserRoom } from '@steve02081504/fount-p2p'

await startNode({ nodeDir: '/path/to/p2p/node' })
await ensureUserRoom()

Subpath exports mirror source directories, e.g. @steve02081504/fount-p2p/dag, @steve02081504/fount-p2p/transport/link_registry, @steve02081504/fount-p2p/registries/event_type.

Layout

| Layer | Directory | Role | |---|---|---| | L0 | core/ | Pure primitives: hexIds, entity_id*, canonical_json | | L1 | crypto/, wire/, schemas/ | Cryptography, wire protocol, canonical validation | | L2 | node/ | Node runtime: identity, entity_store, denylist, reputation_store | | L3 | discovery/, link/, transport/, rooms/ | Discovery, RTC links, rooms | | L4 | trust_graph/, mailbox/, dag/, federation/, files/ | Federation, store-and-forward, DAG, EVFS | | — | registries/ | Pluggable registries (event type, part path, room provider, …) |

Facade entry: index.mjs (startNode, createGroupLinkSet, registerDiscoveryProvider, …).

Root contains only the facade and package metadata; all modules live in layered subdirectories. After a layout migration, run node scripts/cleanup-root-duplicates.mjs to drop stale root stubs.

Tests

npm test              # package pure + integration (Node)
npm run test:fount    # cross-repo bridge (Deno; requires fount on PATH)
npm run test:live     # RTC / link smoke (requires node-datachannel)
npm run test:sim      # tunables co-evolution sim (dev only, not published; --social-tunables to write back)

During development: node scripts/check-imports.mjs validates relative imports. After a layout migration, node scripts/cleanup-root-duplicates.mjs removes stale root-level stubs.

Optional dependencies

  • @stoprocent/noble / @stoprocent/bleno — Bluetooth discovery (attempted by default; skipped when not installed)

Group chunk remote storage (S3, etc.) is implemented by the shell as GroupStoragePlugin and injected; see node/storage_plugins.mjs for the local reference implementation.

Docs