This package has been deprecated

Author message:

`json-parser` is deprecated. Please use `comment-json` instead

json-parser

3.1.2 • Public • Published

Build Status Coverage

This package is deprecated, please use comment-json instead.

comment-json


json-parser

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

Install

$ npm i json-parser

Usage

const {parse} = require('json-parser')
parse(text, reviver? = null, remove_comments? = false)
  : object | string | number | boolean | null

For details, see https://github.com/kaelzhang/node-comment-json#parse

License

MIT

/json-parser/

    Package Sidebar

    Install

    npm i json-parser

    Weekly Downloads

    23,927

    Version

    3.1.2

    License

    MIT

    Unpacked Size

    3.58 kB

    Total Files

    5

    Last publish

    Collaborators

    • kael