This package is deprecated, please use comment-json instead.
JSON parser to parse JSON object and MAINTAIN comments.
Since 3.0.0, json-parser depends on comment-json, and directly use the parse method of comment-json
$ npm i json-parserconst {parse} = require('json-parser')parse(text, reviver? = null, remove_comments? = false)
: object | string | number | boolean | nullFor details, see https://github.com/kaelzhang/node-comment-json#parse
MIT