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

@arch-atlas/server

v0.1.8

Published

Fastify server for arch-atlas explorer

Readme

@arch-atlas/server

Local Fastify server and bundled web UI for Arch Atlas.

Version: 0.1.8 (depends on @arch-atlas/[email protected])

Most users should install the CLI:

npm install -D arch-atlas
npx arch-atlas

Use this package when you want to start the explorer from your own Node process (custom ports, embedding, etc.).

Install

npm install @arch-atlas/server

Requires Node.js >= 18. The published package includes a built copy of the web UI under dist/web.

Quick start

import { startServer } from '@arch-atlas/server';

const server = await startServer({
  projectRoot: '/path/to/project',
  port: 4578,
  openBrowser: true,
  watch: true,
});

console.log(server.url);
console.log(server.graph.stats);

// later
await server.close();

Options

| Option | Default | Description | |--------|---------|-------------| | projectRoot | required | Absolute or relative project path | | port | 4578 | HTTP port | | pull | — | Optional file/folder to pull into a focused graph | | openBrowser | true | Open the explorer in the default browser | | watch | true | Chokidar live rescans | | webDistPath | bundled dist/web | Override UI static root (useful in monorepo dev) |

Instance

| Property / method | Description | |-------------------|-------------| | url | Local explorer URL | | port | Bound port | | graph | Latest ArchitectureGraph | | rescan() | Force a full rescan | | close() | Stop watcher + HTTP server |

HTTP API (v0.1.8)

| Endpoint | Description | |----------|-------------| | GET /api/health | Status + project path | | GET /api/graph | Full graph (includes deadCode, packageBoundaries, …) | | GET /api/file/* | File detail | | GET /api/package/:name | npm package usage | | GET /api/dependencies/* | Forward dependency tree (?depth=3) | | GET /api/impact/* | Reverse impact tree (?depth=3) | | GET /api/boundaries | Monorepo boundary report | | GET /api/search?q= | Search index | | GET /api/dead-code | Unused files with explanations | | GET /api/circular | Circular dependency cycles | | POST /api/open | Body { path } — open in local editor | | POST /api/rescan | Trigger rescan + broadcast | | WS /ws | { type: 'graph-update' \| 'scanning', … } |

Related packages

License

MIT