Gathering detailed insights and metrics for json-parse-better-errors
Gathering detailed insights and metrics for json-parse-better-errors
Gathering detailed insights and metrics for json-parse-better-errors
Gathering detailed insights and metrics for json-parse-better-errors
npm install json-parse-better-errors
99.3
Supply Chain
75.9
Quality
75
Maintenance
100
Vulnerability
100
License
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
67 Stars
8 Commits
13 Forks
3 Watching
4 Branches
2 Contributors
Updated on 17 May 2024
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
-8.7%
3,241,885
Compared to previous day
Last week
2.5%
19,783,534
Compared to previous week
Last month
24.3%
76,804,729
Compared to previous month
Last year
-10.1%
753,890,995
Compared to previous year
6
json-parse-better-errors
is a Node.js library for
getting nicer errors out of JSON.parse()
, including context and position of the parse errors.
$ npm install --save json-parse-better-errors
1const parseJson = require('json-parse-better-errors') 2 3parseJson('"foo"') 4parseJson('garbage') // more useful error message
The npm team enthusiastically welcomes contributions and project participation! There's a bunch of things you can do if you want to contribute! The Contributor Guide has all the information you need for everything from reporting bugs to contributing entire new features. Please don't hesitate to jump in if you'd like to, or even ask us questions if something isn't clear.
All participants and maintainers in this project are expected to follow Code of Conduct, and just generally be excellent to each other.
Please refer to the Changelog for project history details, too.
Happy hacking!
> parse(txt, ?reviver, ?context=20)
Works just like JSON.parse
, but will include a bit more information when an
error happens.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 1/8 approved changesets -- score normalized to 1
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
63 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-18
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