包详细信息

get-stack-trace

gajus263.2k3.1.1

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

stack trace

自述文件

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);