API Reference

stack-utils

stack-utils Captures and cleans stack traces. options internals Type: array of RegularExpressions A set of regular expressions that match internal stack…

Official Documentation ↗
CompatibilityThis documentation covers version v2.0.0. Check the official docs for the latest API surface.

Installation

npmnpm install stack-utils
pnpmpnpm add stack-utils

Methods

Overview

stack-utils Captures and cleans stack traces. options internals Type: array of RegularExpressions A set of regular expressions that match internal stack…

API reference status

This page lists only entry points that appear verbatim in the official README examples: StackUtils.nodeInternals, clean, StackUtils, cwd. Parameter and return types are not given by the official README, so signatures are marked unverified.

Verification notes

API reference evidence

Fetched from official sources on 2026-11-08T18:23:00+08:00 via WebFetch https://cdn.jsdelivr.net/gh/tapjs/stack-utils@latest/readme.md(raw.githubusercontent.com README.md 抓取返回空后改用官方 README 镜像).

FAQ

What does stack-utils do?
stack-utils Captures and cleans stack traces. options internals Type: array of RegularExpressions A set of regular expressions that match internal stack…
How do I install stack-utils?
Run `npm install stack-utils`.
Where can I verify the API details?
Official repository/documentation: https://github.com/tapjs/stack-utils. Checked on 2026-11-04; signatures and return values not stated in the official README are marked unverified.