# poppinss/youch

Pretty print JavaScript errors on the Web and the Terminal

Repository: https://github.com/poppinss/youch
Canonical: https://ross.abutalabs.com/products/youch
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2026-06-01T12:08:13+00:00

## Health v2 (maintenance only)
Score: 81/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 85, release rhythm 65, longevity 100
- inputs: {"age_days": 3510, "days_push": 93, "days_rel": 158, "gap_med": 31, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1193, forks 38 (observed 2026-08-28T04:03:56.580902+00:00)

## What it is
Youch is a TypeScript library that pretty prints JavaScript errors as readable HTML pages for the web or ANSI-formatted output for the terminal. It renders stack traces, error causes, and metadata with syntax highlighting and code editor integration.

## Use cases
- display readable error pages in a web app during development
- pretty print stack traces in the terminal for CLI tools
- render error causes and metadata in a formatted HTML page
- customize syntax highlighting and styles for error output
- open stack trace locations directly in a code editor

## When to choose
- you want developer-friendly error rendering in Node.js web frameworks or CLIs
- you need both HTML and terminal error output from one library
- you want stack traces with source context, causes, and editor links

## When to avoid
- you need error tracking and aggregation in production (use Sentry or similar)
- you only need simple logging of error messages without formatting

## Facets
- artifact type: library
- maturity: active
- function: error-handling, developer-tools
- domain: developer-tools, web-development
- platform: cross-platform
- tags: error-reporting, stack-trace, pretty-printing, html-error-pages, ansi-terminal, command-line, nodejs

## Member repositories
- poppinss/youch (main) score 81

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:56.580902+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:22:21.963961+00:00, confidence not recorded.
  - readme: https://github.com/poppinss/youch (fetched 2026-08-28T04:03:56.580902+00:00, sha 890fb618453f)
  - registry_npm: https://registry.npmjs.org/youch (fetched 2026-08-29T12:29:33.412917+00:00, sha 3c7d6fa953ed)
- Data as of 2026-08-30T08:39:29.467469+00:00.
