Preparing for system design interviews?  Try bugzed.com →

Youch Core Error Parser

JSON →
library 0.3.3 ·javascript
verified Jun 17, 2026

youch-core is a specialized JavaScript/TypeScript library designed to parse `Error` instances into a structured collection of detailed stack frames. It functions as the core error parsing engine utilized by the `youch` package, which is responsible for rendering user-friendly error pages in web applications and formatted output in terminal environments. This library is considered low-level, intended for developers who need to build custom error display solutions while leveraging `youch-core`'s robust error introspection capabilities, rather than being a direct-use package for most applications. It provides granular information for each stack frame, including the filename, line number, column number, and a snippet of the relevant source code, along with flags indicating if a frame is related to `node_modules` or is a native function. The current stable version is `0.3.3`, reflecting an active development cadence with several minor releases and dependency updates throughout the past year, indicating ongoing maintenance and improvement. A significant feature is its support for custom source code loaders, enabling integration into diverse JavaScript runtime environments like Deno or Bun where standard Node.js `fs` module access might be unavailable or unsuitable for retrieving source files. It explicitly targets and supports modern Node.js versions (v18 and newer) and includes comprehensive TypeScript type definitions, ensuring a smooth and type-safe development experience for TypeScript users building custom error handling utilities.

total hits 18
actors 5 distinct systems
last hit 19d ago AhrefsBot
GPTBot
4
Amazonbot
4
Script
1
ChatGPT-User
1
Humans
4

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇬🇧 United Kingdom · VN