Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/deepraining/source-error
通过 map 文件查看 JavaScript 报错的原始信息. To see the original information of JavaScript error through map file.
https://github.com/deepraining/source-error
error map source stack tool uglify
Last synced: about 5 hours ago
JSON representation
通过 map 文件查看 JavaScript 报错的原始信息. To see the original information of JavaScript error through map file.
- Host: GitHub
- URL: https://github.com/deepraining/source-error
- Owner: deepraining
- License: mit
- Created: 2019-08-13T02:22:56.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-05-29T07:31:26.000Z (over 2 years ago)
- Last Synced: 2024-11-07T02:04:58.089Z (8 days ago)
- Topics: error, map, source, stack, tool, uglify
- Language: JavaScript
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.en.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# source-error
[中文文档](./README.md)
To see the original information of JavaScript error through map file.
## quick start
Install:
```
npm install source-error -g
```Usage:
```
source-error [options] [extraDirs...]
```## options
- `-l, --line `: error line
- `-c, --column `: error column
- `-m, --map `: map file path (if starts with `http://` or `https://`, it will be treated as url, any others will be treated as local file path)