{"library":"stacktracey","type":"library","category":null,"description":"StackTracey is a robust JavaScript library designed for parsing call stacks, reading source code, and generating clean, filtered, and pretty-printed output. Currently at version 2.2.0, it targets both Node.js and browser environments, supporting cross-platform compatibility across various operating systems like Windows and *nix. The library differentiates itself with full sourcemap support, the ability to fetch source text for call locations (leveraging `get-source`), and mechanisms for ad-hoc exclusion of irrelevant stack frames (e.g., library calls or user-defined exclusions via `// @hide` markers). It provides both synchronous and asynchronous interfaces for accessing source code, with asynchronous being the preferred method for browser environments to avoid blocking the main thread. It also extracts useful information from `SyntaxError` instances, making it valuable for debugging and enhanced error reporting in development tools and logging solutions.","language":"javascript","status":"active","version":"2.2.0","tags":["javascript","stack","stacktrace","stack printer","error printer","print error","print stack","print debug trace","debug","typescript"],"install":[{"cmd":"npm install stacktracey","imports":["import StackTracey from 'stacktracey'","import type { StackTraceyItem } from 'stacktracey'","const stackWithSources = await new StackTracey(error).withSourcesAsync()"]},{"cmd":"yarn add stacktracey","imports":[]},{"cmd":"pnpm add stacktracey","imports":[]}],"homepage":"https://xpl.github.io/stacktracey","github":"https://github.com/xpl/stacktracey","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/stacktracey","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/stacktracey/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}