Skip to content

Repository files navigation

@ts-stack/stack-utils

Captures and cleans stack traces.

This is a fork of the tapjs/stack-utils v2.0.5

Install

$ npm install --save @ts-stack/stack-utils

Usage

import{StackUtils}from'@ts-stack/stack-utils';conststack=newStackUtils({cwd: process.cwd(),internals: StackUtils.nodeInternals()});console.log(stack.clean(newError().stack));// outputs a beautified stack trace

About

Captures and cleans stack traces.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

Generated from ts-stack/starter