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

@reaatech/agents-markdown-reporter

v1.0.1

Published

Multi-format output reporters for agents-markdown ecosystem

Readme

@reaatech/agents-markdown-reporter

npm version License: MIT CI

Status: Pre-1.0 — APIs may change in minor versions. Pin to a specific version in production.

Multi-format output reporters for lint and validation results. Supports console (ANSI-colorized), JSON (machine-readable), HTML (interactive dashboard), and Markdown (GitHub-flavored) formats.

Installation

npm install @reaatech/agents-markdown-reporter
# or
pnpm add @reaatech/agents-markdown-reporter

Feature Overview

  • Console output — ANSI-colorized terminal output with severity icons, line references, and suggestions
  • JSON output — Machine-readable LintJsonOutput / ValidationJsonOutput with schema version and timestamps
  • HTML reports — Self-contained interactive dashboard with inline CSS, suitable for CI artifacts
  • Markdown reports — GitHub-flavored tables and bullet lists for PR comments
  • Disambiguated exports — Each format has uniquely named functions to avoid collisions

Quick Start

import {
  reportLintResult,
  reportHtmlLintResult,
  reportJsonLintResult,
  reportMarkdownLintResult,
  generateHtmlReport,
  writeHtmlReport,
} from "@reaatech/agents-markdown-reporter";
import {
  reportValidationResult,
  reportJsonValidationResult,
  reportMarkdownValidationResult,
} from "@reaatech/agents-markdown-reporter";

// Console output (colorized, for CLI users)
console.log(reportLintResult(lintResult));

// JSON output (for CI/CD pipelines)
process.stdout.write(reportJsonLintResult(lintResults));

// HTML report to file (for build artifacts)
await writeHtmlReport(results, "./lint-report.html", { title: "Lint Results" });

// Markdown report (for GitHub PR comments)
const md = reportMarkdownLintResult(lintResult);

API Reference

Console Reporter

| Function | Description | |----------|-------------| | reportLintResult(result, options?) | Colorized lint output with severity counts | | reportValidationResult(result) | Colorized validation output | | reportScaffoldResult(created, skipped, errors) | Scaffold operation summary |

JSON Reporter

interface LintJsonOutput {
  schemaVersion: string;
  path: string;
  valid: boolean;
  errorCount: number;
  warningCount: number;
  infoCount: number;
  fixableCount: number;
  findings: Finding[];
  timestamp: string;
}

interface ValidationJsonOutput {
  schemaVersion: string;
  path: string;
  type: "agents" | "skill";
  valid: boolean;
  errorCount: number;
  warningCount: number;
  suggestionCount: number;
  errors: Finding[];
  warnings: Finding[];
  suggestions: Finding[];
  timestamp: string;
}

| Function | Description | |----------|-------------| | reportJsonLintResult(results) | Serialize lint results to JSON string | | reportJsonValidationResult(results) | Serialize validation results to JSON string | | lintToJson(result) | Convert to LintJsonOutput object | | validationToJson(result) | Convert to ValidationJsonOutput object |

HTML Reporter

| Function | Description | |----------|-------------| | reportHtmlLintResult(results) | Generate full HTML document | | generateHtmlReport(results, options?) | Generate HTML with optional title | | writeHtmlReport(results, outputPath, options?) | Write HTML to file |

Markdown Reporter

| Function | Description | |----------|-------------| | reportMarkdownLintResult(results) | Generate markdown for one or more lint results | | reportMarkdownValidationResult(results) | Generate markdown for one or more validation results | | reportLintAsMarkdown(result) | Single-result markdown table + bullet list | | reportValidationAsMarkdown(result) | Single-result markdown table + bullet list |

Format Reference

| Format | Primary Export | Use Case | |--------|---------------|----------| | Console | reportLintResult | CLI output | | JSON | reportJsonLintResult | CI/CD pipelines, programmatic consumers | | HTML | reportHtmlLintResult / writeHtmlReport | Build artifacts, interactive review | | Markdown | reportMarkdownLintResult | GitHub PR comments, changelog entries |

Related Packages

License

MIT