get-stack-trace

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

OTHER License

Downloads
266K
Stars
13
Committers
3

get-stack-trace

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