https://github.com/webcaetano/jinx-error-catcher
Jinx module for handle error and submit to browser console
https://github.com/webcaetano/jinx-error-catcher
Last synced: 6 months ago
JSON representation
Jinx module for handle error and submit to browser console
- Host: GitHub
- URL: https://github.com/webcaetano/jinx-error-catcher
- Owner: webcaetano
- License: mit
- Created: 2015-05-06T04:03:36.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-05-06T04:19:25.000Z (about 11 years ago)
- Last Synced: 2024-12-29T10:28:51.962Z (over 1 year ago)
- Language: JavaScript
- Size: 125 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# [](https://github.com/webcaetano/jinx)
[Jinx](https://github.com/webcaetano/jinx) module for handle error and submit to browser console
## Instalation
```
npm install jinx-error-catcher
```
## Usage
```javascript
require('jinx-error-catcher')(); // that's all
// all errors will display on browser console
// or with options
require('jinx-error-catcher')({
deepDir:2,
maxStack:3
});
```
## Options
#### deepDir
show up to 3 parents folder Like (/home/www/main.as).
- Default: 2
#### maxStack
show 3 stacks of root error
- Default: 3
---------------------------------
The MIT [License](https://raw.githubusercontent.com/webcaetano/jinx-error-catcher/master/LICENSE.md)