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

mendelevium

v0.0.1

Published

The Periodic Table of your Codebase: A dependency mapper and architecture visualizer.

Readme

Mendelevium (Atomic #101)

Mendelevium is an interactive, standalone dependency mapping and codebase visualizer. Named after Dmitri Mendeleev, it acts as the "Periodic Table" for your projects, analyzing file relationships, relative sizes, and dependency patterns in real-time.


Features

  • Terminal TUI Interface: A full-screen interactive Text User Interface (TUI) styled like the Antigravity CLI (agy). Navigate your source files, inspect their size, check their atomic number (size rank), and trace imports directly in the terminal.
  • Interactive HTML Visualization: Compiles a physics-enabled, draggable node network graph (mendelevium-report.html) using Vis.js.
  • Slash Commands: Interact dynamically using terminal-based slash commands (/scan, /filter, /open, /exit).
  • Zero Dependencies: Implemented in pure, modern Node.js using native standard libraries.

Installation

Ensure you are in the package folder, then install/link it:

npm link

TUI Keyboard Shortcuts

When running in interactive TUI mode:

  • Up / Down Arrow Keys: Navigate the list of elements (files).
  • Enter: Compile and open the interactive HTML visualization in your default browser.
  • /: Enter Command Mode (to type slash commands).
  • ESC: Cancel command input, clear active filters, or go back.
  • q or Ctrl+C: Exit the TUI session.

TUI Slash Commands

Type / in the TUI to enter commands:

  • /scan [directory] — Rescans the target codebase directory (defaults to current directory).
  • /filter [query] — Filters the element list to files matching query.
  • /open — Compiles and opens the HTML visualization.
  • /exit — Exits Mendelevium.

CLI Options (Static Output)

You can also bypass the TUI to output static data directly to your stdout:

# Print a clean, formatted ASCII dependency tree
mendelevium . --text

# Output raw JSON representation of the graph
mendelevium . --json

Thematic Classifications (Element Groups)

Mendelevium classifies your project files into specific groups on the periodic table:

  • 🔴 Halogens (Group 17) [F, Cl, Br...]: Layout and style files (.css). Highly reactive.
  • 🟢 Noble Gases (Group 18) [He, Ne, Ar...]: Layout structures (.html). Highly stable.
  • 🟣 Lanthanides [La, Ce, Pr...]: Test specs and verification files.
  • 🟡 Alkali Metals (Group 1) [Li, Na, K...]: Configs, build files, and CLI entry points.
  • 🔵 Transition Metals [Fe, Co, Ni...]: Standard JavaScript/TypeScript modules containing logic.