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

fid-scan

v0.5.0

Published

FID — Directory → Ontology → Command Center. Scan any project, detect domain, score health, find gaps.

Readme

FID

Directory → Ontology → Command Center

License: MIT


What is FID?

FID (File Image Discovery) scans any directory and generates a domain ontology, importance scores, and a live command center. No configuration. The structure IS the interface.

npx fid scan ./my-project
Scanning ./my-project...

Domain detected: ad-intelligence (confidence: 0.94)
Components: 13 found, 2 gaps detected
Importance scores calculated (PEI avg: 7.2)

Command center ready → http://localhost:4200

How It Works

ANY DIRECTORY          FID SCANS              COMMAND CENTER
                                              MATERIALIZES
~/my-project/    →     Detect domains,   →    Live dashboard
  ├── api/             score importance,       Agent activity
  ├── data/            find gaps,              Gap radar
  ├── agents/          map relationships       File tree view
  └── config/                                  Voice + chat

The 4-Stage Pipeline

  1. Scanner — Walks the file tree, classifies files by domain
  2. Ontology — Maps relationships, detects components and gaps
  3. Scorer — Calculates importance (completeness, connectivity, freshness, domain weight, gap detection)
  4. Commander — Generates a real-time command center UI

Agentic Importance Scoring

Every data point is scored on 5 dimensions:

| Dimension | What it measures | |---|---| | Completeness | How fully developed is this component? | | Connectivity | How many other components depend on it? | | Freshness | When was it last modified? | | Domain Weight | How critical is it to this specific domain? | | Gap Detection | What's missing that should exist? |

Agents use these scores to decide what to build next.

Usage

CLI

# Scan a directory
npx fid scan ./my-project

# Output ontology as JSON
npx fid scan ./my-project --format json

# Watch mode (re-scan on file changes)
npx fid watch ./my-project

# Score only (no UI)
npx fid score ./my-project

Library

import { FID } from 'fid';

const result = await FID.scan('./my-project');

console.log(result.domain);      // 'ad-intelligence'
console.log(result.components);   // [{ name: 'api', score: 8.3, ... }]
console.log(result.gaps);         // [{ name: 'auth', severity: 'high' }]
console.log(result.ontology);     // Full relationship graph

With aoskit

import { AOS } from 'aoskit';
import { FID } from 'fid';

const wiz = new AOS({ name: 'wiz', domain: 'ad-intelligence', version: '1.0.0' });
wiz.observe(FID.scan('./'));

Part of the XY&Z Ecosystem

| Package | Purpose | |---------|---------| | aoskit | Reference SDK for building AOS | | fid | Directory → ontology → command center | | pid-sdk | Universal agentic identity | | boarding | Progressive onboarding |

License

MIT © XY and Z


Point at a directory. Get a command center. Zero config.

xyandz.io