Stack traces as an array of stack frames with source maps support.
OTHER License
Stack traces as an array of stack frames with source maps support.
import {
getStackTrace,
serializeStackTrace,
} from 'get-stack-trace';
const stackTrace = getStackTrace();
serializeStackTrace('Error', 'Hello, World!', stackTrace);