You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

stacktracey

Package Overview
Dependencies
Maintainers
2
Versions
141
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stacktracey - npm Package Compare versions

Comparing version

to
2.0.8

2

package.json
{
"name": "stacktracey",
"version": "2.0.7",
"version": "2.0.8",
"description": "Parses call stacks. Reads sources. Clean & filtered output. Sourcemaps. Node & browsers.",

@@ -5,0 +5,0 @@ "main": "stacktracey",

@@ -177,4 +177,7 @@ # StackTracey

```javascript
const prettyPrintedString = new StackTracey (error).clean ().asTable ()
const prettyPrintedString = new StackTracey (error).clean ().asTable () // NB: synchronously reads sources, use .cleanAsync for doing it async
```
```javascript
const prettyPrintedString = await (new StackTracey (error).cleanAsync ()).asTable () // asynchronous version
```

@@ -181,0 +184,0 @@ It produces a nice compact table layout (thanks to [`as-table`](https://github.com/xpl/as-table)), supplied with source lines (if available):