Gathering detailed insights and metrics for stacktrace-parser
Gathering detailed insights and metrics for stacktrace-parser
Gathering detailed insights and metrics for stacktrace-parser
Gathering detailed insights and metrics for stacktrace-parser
Parses every stack trace into a nicely formatted array of hashes.
npm install stacktrace-parser
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
106 Stars
64 Commits
12 Forks
6 Watching
8 Branches
7 Contributors
Updated on 27 Nov 2024
JavaScript (98.82%)
TypeScript (1.18%)
Cumulative downloads
Total Downloads
Last day
-4.3%
699,290
Compared to previous day
Last week
3.5%
3,895,152
Compared to previous week
Last month
8%
16,160,534
Compared to previous month
Last year
47.2%
158,335,758
Compared to previous year
This parser parses a stack trace from any browser or Node.js and returns an array of hashes each representing a line.
The goal here is to support every browser even old Internet Explorer stack traces will work.
1npm install stacktrace-parser
1import * as stackTraceParser from 'stacktrace-parser'; 2 3try { 4 throw new Error('My error'); 5} catch(ex) { 6 const stack = stackTraceParser.parse(ex.stack); 7}
Every line contains five properties: lineNumber
, methodName
, arguments
, file
and column
(if applicable).
If you want to contrib, then do you thing, write tests, run npm run test
ensure that everything is green,
commit and make the pull request. Or just write an issue, or let's talk.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 3/11 approved changesets -- score normalized to 2
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
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
16 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-25
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