stacktracey
Advanced tools
Comparing version 2.0.7 to 2.0.8
{ | ||
"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): |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
42005
279