Gathering detailed insights and metrics for error-stack-parser
Gathering detailed insights and metrics for error-stack-parser
Gathering detailed insights and metrics for error-stack-parser
Gathering detailed insights and metrics for error-stack-parser
error-stack-parser-es
Cross-browser Error parser
@devexpress/error-stack-parser
Extract meaning from JS Errors
@types/error-stack-parser
Stub TypeScript definitions entry for error-stack-parser, which provides its own types definitions
@casual-simulation/error-stack-parser
Fork of error-stack-parser with some not-yet-released changes
npm install error-stack-parser
Typescript
Module System
Node Version
NPM Version
99.3
Supply Chain
81.2
Quality
81.7
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
476 Stars
237 Commits
53 Forks
17 Watchers
11 Branches
14 Contributors
Updated on Jun 30, 2025
Minified
Minified + Gzipped
Latest Version
2.1.4
Package Id
error-stack-parser@2.1.4
Unpacked Size
35.09 kB
Size
9.00 kB
File Count
8
NPM Version
8.11.0
Node Version
16.15.1
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
Simple, cross-browser Error parser.
This library parses and extracts function names, URLs, line numbers, and column numbers from the given Error's stack
as
an Array of StackFrames.
Once you have parsed out StackFrames, you can do much more interesting things. See stacktrace-gps.
Note that in IE9 and earlier, Error
objects don't have enough information to extract much of anything. In IE 10, Error
s
are given a stack
once they're throw
n.
1ErrorStackParser.parse(new Error('BOOM'));
2
3=> [
4 StackFrame({functionName: 'foo', args: [], fileName: 'path/to/file.js', lineNumber: 35, columnNumber: 79, isNative: false, isEval: false}),
5 StackFrame({functionName: 'Bar', fileName: 'https://cdn.somewherefast.com/utils.min.js', lineNumber: 1, columnNumber: 832, isNative: false, isEval: false, isConstructor: true}),
6 StackFrame(... and so on ...)
7 ]
1npm install error-stack-parser 2bower install error-stack-parser 3https://raw.githubusercontent.com/stacktracejs/error-stack-parser/master/dist/error-stack-parser.min.js
Want to be listed as a Contributor? Start with the Contributing Guide!
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 3
Details
Reason
Found 2/24 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
Project has not signed or included provenance with any releases.
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
29 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-06-23
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More