parse-json
npmv8.3.0TypeScriptParse JSON with more helpful errors
Overview
parse-json is an npm package that parse JSON with more helpful errors. The latest version is 8.3.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need parse JSON with more helpful errors and value a focused solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of parse-json.
Dependencies
Dev (6)
Used by
Popular packages that depend on parse-json.
Alternatives to parse-json
Strip comments from JSON. Lets you use comments in your JSON files!
Parse String to Number based on configuration
An error subclass for wrapping non-error values
Functions for dealing with a PostgreSQL connection string
Given some data, jsesc returns the shortest possible stringified & ASCII-safe representation of that data.
Parse and stringify URL query strings
Escape RegExp special characters
A querystring parser that supports nesting and arrays, with a depth limit
Create HTTP error objects
deterministic `JSON.stringify()` - a faster version of substack's json-stable-strigify without jsonify
Node.js path.parse() ponyfill
Compare strings containing a mix of letters and numbers in the way a human being would in sort order.
Frequently installed together
TypeScript definitions for node
Transpile JSX, TypeScript and esnext features on the fly with esbuild
TypeScript execution environment and REPL for node.js, with source map support
The semantic version parser used by npm.
Stringify any JavaScript value.
Convert Windows backslash paths to slash paths
Get details about the current Continuous Integration environment
Get paths for storing things like data, config, cache, etc
No description provided.
No description provided.
No description provided.
No description provided.
Version history
| Version | Published | License |
|---|---|---|
| 8.3.0latest | 1 year ago | MIT |
| 8.2.0 | 1 year ago | MIT |
| 8.1.0 | 2 years ago | MIT |
| 8.0.1 | 2 years ago | MIT |
| 8.0.0 | 2 years ago | MIT |
| 7.1.1 | 2 years ago | MIT |
| 7.1.0 | 2 years ago | MIT |
| 7.0.0 | 3 years ago | MIT |
| 6.0.2 | 4 years ago | MIT |
| 6.0.1 | 4 years ago | MIT |
| 6.0.0 | 4 years ago | MIT |
| 5.2.0 | 5 years ago | MIT |
| 5.1.0 | 5 years ago | MIT |
| 5.0.1 | 6 years ago | MIT |
| 5.0.0 | 7 years ago | MIT |
| 4.0.0 | 8 years ago | MIT |
| 3.0.0 | 9 years ago | MIT |
| 2.2.0 | 11 years ago | MIT |
| 2.1.0 | 11 years ago | MIT |
| 2.0.0 | 11 years ago | MIT |
Maintainers
Funding
Frequently asked questions
How do I install parse-json?
Run `npm install parse-json` to add parse-json to your npm project.
What license is parse-json released under?
parse-json is distributed under the MIT license.
How popular is parse-json?
parse-json has approximately 0 downloads per week and 1 known dependent packages.