get-stack-trace
TypeScript icon, indicating that this package has built-in type declarations

3.1.1 • Public • Published

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

/get-stack-trace/

    Package Sidebar

    Install

    npm i get-stack-trace

    Weekly Downloads

    60,191

    Version

    3.1.1

    License

    none

    Unpacked Size

    11.9 kB

    Total Files

    27

    Last publish

    Collaborators

    • gajus