stacktracey
Advanced tools
Comparing version 1.2.101 to 1.2.102
{ | ||
"name": "stacktracey", | ||
"version": "1.2.101", | ||
"version": "1.2.102", | ||
"description": "Parses call stacks. Reads sources. Clean & filtered output. Sourcemaps. Node & browsers.", | ||
@@ -5,0 +5,0 @@ "main": "stacktracey", |
@@ -161,2 +161,13 @@ # StackTracey | ||
But the most simple way to achieve that is to use the [`ololog`](https://github.com/xpl/ololog/blob/master/README.md) library (that is built upon StackTracey and several other handy libraries coded by me). Check it out, [it's pretty awesome and will blow your brains out](https://github.com/xpl/ololog/blob/master/README.md) :) | ||
```javascript | ||
const log = require ('ololog').handleNodeErrors () | ||
// you can also print Errors by simply passing them to the log() function | ||
``` | ||
<img width="1066" alt="screen shot 2018-05-11 at 19 51 03" src="https://user-images.githubusercontent.com/1707/39936393-ffd529c2-5554-11e8-80f8-eff1229017c4.png"> | ||
## Parsing `SyntaxError` instances | ||
@@ -163,0 +174,0 @@ |
208712
236