StackGenVis: Alignment of Data, Algorithms, and Models for Stacking Ensemble Learning Using Performance Metrics https://doi.org/10.1109/TVCG.2020.3030352
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
StackGenVis/frontend/node_modules/json-parse-helpfulerror/README.md

29 lines
539 B

# json-parse-helpfulerror
A drop-in replacement for `JSON.parse` that uses
<https://npmjs.org/jju> to provide more useful error messages in the
event of a parse error.
# Example
## Installation
```
npm i -S json-parse-helpfulerror
```
## Use
```js
var jph = require('json-parse-helpfulerror');
var notJSON = "{'foo': 3}"; // keys must be double-quoted in JSON
JSON.parse(notJSON); // throws unhelpful error
jph.parse("{'foo': 3}") // throws more helpful error: "Unexpected token '\''..."
```
# License
MIT