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

@exodra/introspect

v0.2.0

Published

AI-powered introspection ecosystem with universal AI tool integration and extensible plugin system for Exodra applications

Readme

@exodra/introspect

AI-powered introspection, code analysis, and developer tooling for Exodra applications.

Installation

npm install --save-dev @exodra/introspect

The package ships a CLI exposed as exo-introspect.

Overview

@exodra/introspect analyzes Exodra projects and surfaces insights:

  • Code & component analysis - structure, patterns, complexity
  • Performance analysis - hotspots and optimization opportunities
  • Schema & route analysis - schema relationships, route structure
  • Optional AI enhancement - insights via configured AI providers
  • Editor integration - Cursor / Claude setup

CLI Usage

Run via npx exo-introspect <command> (the bin is exo-introspect):

# Quick health check of the project
npx exo-introspect quick-check --path src/

# Full project analysis
npx exo-introspect analyze

# Full analysis with AI enhancement, written to a file
npx exo-introspect analyze --ai --provider anthropic --format markdown -o report.md

Commands

  • quick-check - fast project health check (-p, --path)
  • analyze - comprehensive analysis (-p, --path, --ai, --provider, --model, --api-key, -f, --format, -o, --output, -v, --verbose)
  • components - analyze components for patterns and optimization (-p, --path, -f, --format)
  • performance - analyze performance hotspots and bottlenecks (-p, --path)
  • schemas - analyze schema definitions and relationships (-p, --path)
  • routes - analyze routes and navigation structure (-p, --path)
  • explain <file> - AI explanation of a code file (--provider, --api-key)
  • check-thresholds <file> - check a saved analysis JSON against quality gates (--max-errors, --max-warnings, --min-score)
  • explore - launch and explore the app in a browser with optional AI analysis (--headless, --scenarios, --url, --ai)
  • setup - automatic AI ecosystem setup (--interactive, --silent, --project-root)
  • setup-cursor - generate Cursor (Claude Code) integration (-p, --path)
  • ai providers - list configured AI providers
  • ai test - test the AI provider connection (--provider)
  • plugins list - list installed introspect plugins

There is no report command. To produce a report file, use analyze -o <file> (with -f json|markdown|html).

Programmatic API

The main entry points are introspect and quickIntrospect, plus formatResults:

import { introspect, quickIntrospect, formatResults } from '@exodra/introspect';

// Quick health check — takes a project root path
const health = await quickIntrospect('./');
console.log(health.health, health.summary, health.topIssues);

// Full analysis — takes an options object
const result = await introspect({
  projectRoot: './src',
  scope: 'project',          // 'file' | 'project' | 'workspace'
  enableAI: false,
  verbose: false,
});

// Format a result as json | markdown | html (default: json)
const markdown = formatResults(result, 'markdown');
console.log(markdown);

Other exports include analyzer classes (SchemaAnalyzer, ComponentAnalyzer, PerformanceAnalyzer, CodeAnalyzer, ExoRouterAnalyzer), the IntrospectionEngine, the plugin system (ExoPluginManager, ExoPluginDiscovery), the universal AI system (universalAI, ExoUniversalAI), and an ESLint plugin (eslintPlugin).

There is no analyze() export. Use introspect(...) / quickIntrospect(...).

License

MIT


📖 Full documentation: exodra.org