Fancy upgrade to console.log — annotated, source-aware error diagnostics for TypeScript. Zero runtime dependencies. Works in Node and the browser.
Highlight spans of the offending code with labels, in a familiar Rust-style report. No more decoding a stack trace to find the column.
A few hundred lines of TypeScript. No transitive tree to audit. Drops cleanly into any project.
ES2022 Error.cause is walked and rendered automatically. Wrap your errors however deep — the whole story prints.
Pure string output. Pipe it into process.stderr, an HTML <pre>, an xterm.js session — whatever you have.