3.1.1 • Published 7 months ago

get-stack-trace v3.1.1

Weekly downloads
8,756
License
-
Repository
github
Last release
7 months ago

get-stack-trace

NPM version Canonical Code Style Twitter Follow

Stack traces as an array of stack frames with source maps support.

Usage

import {
  getStackTrace,
  serializeStackTrace,
} from 'get-stack-trace';

const stackTrace = getStackTrace();

serializeStackTrace('Error', 'Hello, World!', stackTrace);