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

@noyrax/documentation-system-plugin

v1.0.4-beta.12

Published

Documentation that never drifts. Automatic documentation generation with validation and drift detection. Generates 5-dimensional documentation structure (modules, symbols, dependencies, ADRs, changes) for codebases.

Downloads

1,128

Readme


Das Problem

80% der Dokumentation ist veraltet. Entwickler ändern Code, aber nicht die Docs. Reviews fangen es nicht auf. CI prüft es nicht.

Noyrax löst das:

- ❌ Manuelle Docs → veralten sofort
- ❌ TypeDoc/JSDoc → keine Validierung
- ❌ "Docs later" → passiert nie

+ ✅ Automatische Generierung aus Code
+ ✅ Drift-Detection bei jeder Änderung
+ ✅ CI/CD-Integration mit Merge-Blocking

Features

🔄 Auto-Generate

Generiert Markdown-Dokumentation aus Code – deterministisch und reproduzierbar.

  • TypeScript/JavaScript
  • Python
  • JSON/YAML Configs
  • Multi-Language Support

🛡️ Drift-Detection

Erkennt automatisch, wenn Code und Dokumentation auseinanderlaufen.

  • Signatur-Validierung
  • Coverage-Metriken
  • Change-Tracking
  • Inkrementelle Updates

🤖 AI-Native

Built for Cursor, Copilot & Claude mit MCP-Server und strukturierten Workflows.

  • MCP-Server Integration (99 Resources)
  • Impact-Analyse
  • ADR-Generierung
  • Cursor Rules

🧠 Semantische Intelligenz

Rollenbasierte Dokumentationstiefe und intelligente Signatur-Formatierung.

  • SignatureFormatter (ADR-020): Zentrale Signatur-Formatierung
  • SymbolClassifier (ADR-021): Rollenbasierte Klassifizierung (service-api, domain-model, config, infra, other)
  • Semantisches Rendering (ADR-022): Strukturierte Klassen- und Konstanten-Darstellung

🗺️ Mehrdimensionaler Navigationsraum

Koordinaten-System mit 5 Dimensionen für KI-Agenten-Navigation.

  • Modul-Raum (X): API-Dokumentation pro Datei
  • Symbol-Raum (Y): Symbole mit Dependencies
  • Beziehungs-Raum (Z): Modul-Abhängigkeiten
  • Wissens-Raum (W): Architektur-Entscheidungen (ADRs)
  • Zeit-Raum (T): Änderungen über die Zeit (ADR-024)

✅ Reality-Driven Development

Verification-Loops verhindern AI-Agent-Halluzinationen.

  • Verification-Scripts (ADR-026): Architektur, ADRs, Imports
  • Pre-Commit Hooks: Automatische Verification
  • CI/CD Integration: GitHub Actions für Reality-Checks
  • Evidence-basierte Claims: Code ist die einzige Wahrheitsquelle

Quick Start

Via npm (Recommended for CLI Tools)

npm install -g @noyrax/documentation-system-plugin

Available CLI Tools:

  • noyrax-scan - Scan codebase for documentation
  • noyrax-validate - Validate documentation consistency
  • noyrax-generate - Generate documentation
  • noyrax-verify-adrs - Verify ADR claims against code
  • noyrax-verify-architecture - Verify architecture rules
  • noyrax-verify-imports - Verify import availability
  • noyrax-verify-all - Run all verification checks

Example:

# Scan codebase
noyrax-scan

# Generate documentation
noyrax-generate

# Validate documentation
noyrax-validate

# Verify ADRs
noyrax-verify-adrs

Via VS Code Extension

Option 1: VS Code Extension

# Extension installieren
code --install-extension noyrax.noyrax

# Oder über VS Code Marketplace suchen: "Noyrax"

Option 2: CLI (für CI/CD)

# Global installieren
npm install -g @noyrax/cli

# Oder als Dev-Dependency
npm install -D @noyrax/cli

# Projekt für Noyrax vorbereiten (.cursor/rules + mcp.json)
npx noyrax init

# Später Rules aktualisieren
npx noyrax update

# Installation prüfen
npx noyrax info

# Hinweis:
# Die eigentliche Pipeline (Scan → Generate → Validate)
# läuft heute über die VS Code Extension bzw. den MCP-Server,
# nicht direkt über das CLI.

Option 3: Mit AI-Agent (Cursor)

# Cursor Rules & MCP-Konfiguration initialisieren
npx noyrax init

# Projekt in Cursor öffnen
# - Die .cursor/rules werden automatisch geladen
# - Der MCP-Server \"doc-validation\" steht zur Verfügung

# In Cursor/VS Code:
# - Noyrax-Extension installieren
# - MCP-Tools verwenden:
#   validation/runScan
#   validation/runValidate
#   validation/runDriftCheck
#   validation/analyzeImpact

Usage

VS Code Commands

| Command | Shortcut | Beschreibung | |---------|----------|--------------| | Noyrax: Scan | Ctrl+Shift+N S | Projekt scannen | | Noyrax: Generate | Ctrl+Shift+N G | Docs generieren | | Noyrax: Validate | Ctrl+Shift+N V | Validierung ausführen | | Noyrax: Full Cycle | Ctrl+Shift+N F | Scan → Generate → Validate |

CLI Commands

  • npx noyrax init – Projekt für Noyrax vorbereiten (.cursor/rules/ + mcp.json)
  • npx noyrax update – Rules auf die neueste Version bringen
  • npx noyrax info – Versionen und enthaltene Rules anzeigen

Hinweis: Befehle wie noyrax scan, noyrax generate, noyrax validate, noyrax drift oder noyrax impact sind in der aktuellen Version noch nicht als CLI-Unterbefehle implementiert. Die entsprechenden Funktionen stehen über die VS Code Extension und die MCP-Tools (validation/runScan, validation/runValidate, validation/runDriftCheck, validation/analyzeImpact) zur Verfügung.

Konfiguration

Erstelle noyrax.config.json im Projekt-Root:

{
  "include": ["src/**/*.ts", "lib/**/*.ts"],
  "exclude": ["**/*.test.ts", "**/*.spec.ts", "node_modules/**"],
  "output": {
    "modules": "docs/modules",
    "system": "docs/system",
    "index": "docs/index"
  },
  "validation": {
    "coverage": {
      "classes": 0.9,
      "functions": 0.8,
      "interfaces": 0.9
    },
    "blockOnDrift": true
  }
}

AI Integration

Noyrax ist AI-native – designed für die Zusammenarbeit mit Cursor, Copilot und anderen AI-Assistenten.

MCP-Server (ADR-025)

Der MCP-Server ermöglicht strukturierte Kommunikation zwischen AI-Agent und Noyrax:

99 Resources verfügbar:

  • 4 System-Resources: docs://system/graph, docs://system/dependencies, docs://system/changes, docs://index/symbols.jsonl
  • 71 Modul-Resources: docs://modules/{path} (dynamisch geladen)
  • 24 ADR-Resources: docs://adr/{name} (dynamisch geladen)

Tools (CLI-Bridge-Pattern):

validation/runScan        // Scan via npm run scan:cli
validation/runValidate    // Validate via npm run validate:cli
validation/runDriftCheck  // Drift erkennen
validation/analyzeImpact  // Impact-Analyse via Symbol-Index

Cursor Rules

Noyrax liefert vorgefertigte .cursor/rules/ für strukturierte Workflows:

├── 000-orchestrator.mdc      # Zentrale Workflow-Steuerung
├── 001-pre-check.mdc         # Pflichtschritte vor Änderungen
├── 002-system-context.mdc    # Mehrdimensionaler Navigationsraum
├── 020-validate-workflow.mdc # Validierungs-Workflow
├── 021-impact-analysis.mdc   # Impact-Analyse
├── 026-reality-driven-verification.mdc # Verification-Loops
└── 030-constraints.mdc       # Architektur-Constraints

Workflow-Beispiel

1. Agent liest Docs vor Änderung (Pre-Check, Systemkontext)
2. Agent ändert max. 3 Dateien
3. Agent ruft validation/runValidate auf
4. Bei Drift → Agent korrigiert
5. Bei signifikanter Änderung → ADR generieren
6. Verification-Scripts prüfen Reality (Pre-Commit Hook)

Reality-Driven Development (ADR-026)

Grundprinzip: Code ist die einzige Wahrheitsquelle. Dokumentation und ADRs können veraltet sein.

Verification-Loops:

  • Vor Implementierung: Reality-Check (Dateien, Funktionen, Imports verifizieren)
  • Während Implementierung: Incremental Verification (sofort kompilieren, sofort testen)
  • Nach Implementierung: End-to-End Verification (npm run verify:all)

Verification-Scripts:

  • scripts/verify-architecture.js - Architektur-Regeln prüfen
  • scripts/verify-adrs.js - ADR-Claims gegen Code prüfen
  • scripts/verify-imports.js - Import-Verfügbarkeit prüfen

Automation:

  • Pre-Commit Hook (.husky/pre-commit)
  • GitHub Actions (.github/workflows/verification.yml)
  • VS Code Tasks (.vscode/tasks.json)

Mehrdimensionaler Navigationsraum (ADR-024)

Noyrax generiert ein Koordinaten-System mit 5 Dimensionen, das KI-Agenten ermöglicht, sich im Code-Raum zu bewegen:

| Dimension | Artefakt | Funktion | MCP-Server Resource | |-----------|----------|----------|---------------------| | Modul-Raum (X) | docs/modules/*.md | API-Dokumentation pro Datei | docs://modules/{path} | | Symbol-Raum (Y) | docs/index/symbols.jsonl | Symbole mit Dependencies | docs://index/symbols.jsonl | | Beziehungs-Raum (Z) | docs/system/DEPENDENCY_GRAPH.md | Modul-Abhängigkeiten | docs://system/graph | | Wissens-Raum (W) | docs/adr/*.md | Architektur-Entscheidungen (Landkarte) | docs://adr/{name} | | Zeit-Raum (T) | docs/system/CHANGE_REPORT.md | Änderungen über die Zeit | docs://system/changes |

Navigation-Beispiel für KI-Agenten

// 1. Modul-Dokumentation lesen (Modul-Raum)
const moduleDoc = await readDocsResource('docs://modules/src__parsers__ts-js.ts.md');

// 2. Dependency-Graph abrufen (Beziehungs-Raum)
const graph = await readDocsResource('docs://system/graph');

// 3. Change Report abrufen (Zeit-Raum)
const changes = await readDocsResource('docs://system/changes');

// 4. ADRs lesen (Wissens-Raum)
const adrs = await readDocsResource('docs://adr/020-api-doc-tiefe-und-signatureformatter.md');

// 5. Impact-Analyse durchführen
const impact = await analyzeImpact({
  file: 'src/parsers/ts-js.ts',
  symbol: 'TsJsParser'
});

ADR-Verknüpfung (ADR-023)

Module zeigen automatisch relevante ADRs:

  • Module → ADR: Welche Architektur-Entscheidungen betreffen dieses Modul?
  • ADR → Module: Welche Module implementieren diese Entscheidung?

Output-Struktur

Noyrax generiert eine deterministische Dokumentationsstruktur:

docs/
├── modules/           # Pro-Datei Dokumentation (Modul-Raum)
│   ├── src__core__scanner.ts.md
│   ├── src__parser__typescript.ts.md
│   └── ...
│   # Enthält: API-Signaturen, ADR-Links, semantisches Rendering
├── system/            # System-weite Übersichten
│   ├── DEPENDENCIES.md        # Import-Übersicht pro Modul
│   ├── DEPENDENCY_GRAPH.md    # Mermaid-Graph (Beziehungs-Raum)
│   └── CHANGE_REPORT.md       # Änderungsprotokoll (Zeit-Raum)
├── index/             # Schneller Symbol-Index (Symbol-Raum)
│   └── symbols.jsonl  # Symbole mit Dependencies (JSONL-Format)
└── adr/               # Architecture Decision Records (Wissens-Raum)
    ├── 020-api-doc-tiefe-und-signatureformatter.md
    ├── 021-semantic-api-docs-and-symbol-classifier.md
    ├── 022-semantic-class-and-constants-rendering.md
    ├── 023-adr-verknuepfung-modul-doku.md
    ├── 024-cursor-rules-mehrdimensionaler-raum.md
    ├── 025-mcp-tools-scan-validate-cli-bridge.md
    ├── 026-reality-driven-development-system.md
    ├── 027-scanner-excludes-and-union-logic-fix.md
    └── ...

Modul-Dokumentation Features

Jede Modul-Dokumentation (docs/modules/*.md) enthält:

  • API-Signaturen: Formatierung via SignatureFormatter (ADR-020)
  • Semantische Klassifizierung: Rollenbasierte Doku-Tiefe via SymbolClassifier (ADR-021)
  • Semantisches Rendering: Strukturierte Klassen- und Konstanten-Darstellung (ADR-022)
  • ADR-Verknüpfungen: Automatische Links zu relevanten Architektur-Entscheidungen (ADR-023)

Change Report (Zeit-Raum)

Der Change Report (docs/system/CHANGE_REPORT.md) zeigt:

  • Neu hinzugefügte Symbole
  • Geänderte Signaturen
  • Dependency-Änderungen
  • Ermöglicht Änderungsmuster zu erkennen

CI/CD Integration

GitHub Actions

name: Noyrax Validation

on: [push, pull_request]

jobs:
  validate-docs:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      
      - name: Setup Node.js
        uses: actions/setup-node@v4
        with:
          node-version: '20'
          
      - name: Install Dependencies
        run: npm ci
        
      - name: Run Noyrax
        uses: noyrax/action@v1
        with:
          command: validate
          fail-on-drift: true
          
      - name: Comment PR
        if: github.event_name == 'pull_request'
        uses: noyrax/action@v1
        with:
          command: comment
          github-token: ${{ secrets.GITHUB_TOKEN }}

Pre-commit Hook

# .husky/pre-commit
npx noyrax validate --quick

Pricing

✅ VS Code Extension ✅ CLI & MCP-Server ✅ Local Drift-Detection ✅ Unlimited Projects

Everything in Free, plus: ✅ Cloud Dashboard ✅ Email Drift-Alerts ✅ Priority Support ✅ Custom Themes

Everything in Pro, plus: ✅ Team Analytics ✅ Slack/Teams Integration ✅ Shared Configurations ✅ Role-based Access

Everything in Team, plus: ✅ SSO / SAML ✅ Audit Logs ✅ Compliance Reports ✅ Dedicated Support


Supported Languages

| Language | Status | Features | |----------|--------|----------| | TypeScript/JavaScript | ✅ Full | Classes, Functions, Interfaces, Types | | Python | ✅ Full | Classes, Functions, Decorators | | JSON/YAML | ✅ Full | Schema extraction | | Markdown | ✅ Full | Frontmatter, Links | | Go | 🚧 Beta | Functions, Structs | | Rust | 📋 Planned | Coming Q1 2026 | | Java/Kotlin | 📋 Planned | Coming Q2 2026 |


Strategische Vision

Contributing

Contributions sind willkommen! Siehe CONTRIBUTING.md für Details.

# Repository klonen
git clone https://github.com/noyrax/noyrax.git
cd noyrax

# Dependencies installieren
npm install

# Development Build
npm run compile

# Tests ausführen
npm test

# Extension testen (F5 in VS Code)

Development Workflow

  1. Issue erstellen oder existierendes Issue übernehmen
  2. Branch erstellen: git checkout -b feature/my-feature
  3. Änderungen implementieren (max. 3 Dateien pro Commit)
  4. Tests schreiben und ausführen
  5. npm run validate ausführen
  6. Pull Request erstellen

Roadmap

  • [x] v1.0 – Core: Scan, Generate, Validate
  • [x] v1.1 – Inkrementelle Generierung
  • [x] v1.2 – MCP-Server & Cursor Rules
  • [x] v1.0.4 – Semantische Intelligenz & Mehrdimensionaler Raum
  • [ ] v1.3 – GitHub Action (Q1 2026)
  • [ ] v1.4 – Cloud Dashboard (Q2 2026)
  • [ ] v2.0 – Team Features (Q3 2026)

Architecture

┌─────────────────────────────────────────────────────────────┐
│                        Noyrax                               │
├─────────────────────────────────────────────────────────────┤
│                                                             │
│  ┌──────────────┐  ┌──────────────┐  ┌──────────────┐      │
│  │   Scanner    │  │  Generator   │  │  Validator   │      │
│  │              │  │              │  │              │      │
│  │  - File I/O  │  │  - Markdown  │  │  - Drift     │      │
│  │  - Git Diff  │  │  - Templates │  │  - Coverage  │      │
│  │  - Parsers   │  │  - Index     │  │  - Reports   │      │
│  └──────────────┘  └──────────────┘  └──────────────┘      │
│         │                 │                 │               │
│         └─────────────────┼─────────────────┘               │
│                           │                                 │
│                    ┌──────────────┐                         │
│                    │    Cache     │                         │
│                    │  - AST       │                         │
│                    │  - Signatures│                         │
│                    │  - Output    │                         │
│                    │  - Dependencies│                       │
│                    └──────────────┘                         │
│                           │                                 │
│                    ┌──────────────┐                         │
│                    │     Core     │                         │
│                    │  - Signature │                         │
│                    │    Formatter │                         │
│                    │  - Symbol    │                         │
│                    │    Classifier│                         │
│                    │  - ADR       │                         │
│                    │    Linker    │                         │
│                    └──────────────┘                         │
│                                                             │
├─────────────────────────────────────────────────────────────┤
│  Mehrdimensionaler Navigationsraum (5 Dimensionen)        │
│  Modul-Raum │ Symbol-Raum │ Beziehungs-Raum │             │
│  Wissens-Raum │ Zeit-Raum                                  │
├─────────────────────────────────────────────────────────────┤
│  Integrations:  VS Code │ CLI │ MCP Server │ GitHub Action │
│  Verification: Pre-Commit │ CI/CD │ VS Code Tasks         │
└─────────────────────────────────────────────────────────────┘

License

MIT © Benjamin Behrens