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

eigenvue

v1.0.2

Published

The visual learning platform for understanding algorithms, AI architectures, and quantum computing.

Downloads

108

Readme

Eigenvue

The visual learning platform for understanding algorithms, AI architectures, and quantum computing.

npm version License: MIT

Eigenvue provides step-by-step algorithm visualizations for classical CS, deep learning, and generative AI algorithms. Use it as a library in your Node.js projects, or as a CLI tool.

Installation

npm install eigenvue

Requires Node.js >= 18.

Quick Start

List Available Algorithms

import { list } from "eigenvue";

// List all 22 algorithms
const algorithms = list();
console.log(algorithms);

// Filter by category
const classical = list({ category: "classical" });
const deepLearning = list({ category: "deep-learning" });
const generativeAi = list({ category: "generative-ai" });

Generate Step-by-Step Data

import { steps } from "eigenvue";

// Generate steps with default inputs
const result = steps("binary-search");
console.log(`${result.steps.length} steps generated`);

// Generate steps with custom inputs
const custom = steps("binary-search", {
  array: [1, 3, 5, 7, 9],
  target: 5,
});

Each step includes state data, visual actions, and code highlights that you can use to build custom visualizations.

Open Interactive Visualization

import { show } from "eigenvue";

// Opens in your default browser
show("binary-search");

// Custom port and inputs
show("self-attention", {
  port: 8080,
  inputs: { tokens: ["I", "love", "AI"] },
});

CLI Usage

# List all algorithms
npx eigenvue list

# Filter by category
npx eigenvue list --category classical

# Open interactive visualization
npx eigenvue show binary-search

# Print step data as JSON
npx eigenvue steps binary-search

# Version and help
npx eigenvue --version
npx eigenvue --help

Available Algorithms

Classical (7)

Binary Search, Breadth-First Search, Bubble Sort, Depth-First Search, Dijkstra's Shortest Path, Merge Sort, QuickSort

Deep Learning (5)

Backpropagation, Convolution (2D), Feedforward Neural Network, Gradient Descent, Perceptron

Generative AI (5)

BPE Tokenization, Multi-Head Attention, Self-Attention, Token Embeddings, Transformer Block

API Reference

list(options?): AlgorithmInfo[]

List available algorithms with metadata.

  • options.category — Filter by category: "classical", "deep-learning", "generative-ai", or "quantum".

steps(algorithmId, inputs?): StepSequence

Generate the step-by-step sequence for an algorithm.

  • algorithmId — Algorithm identifier (e.g., "binary-search").
  • inputs — Custom input parameters. Uses defaults from metadata if omitted.

show(algorithmId, options?): void

Launch an interactive visualization in the browser.

  • algorithmId — Algorithm identifier.
  • options.port — TCP port (default: auto-select).
  • options.openBrowser — Whether to open the browser (default: true).
  • options.inputs — Custom input parameters.

Links

License

MIT