{
  "_id": "json-parse-helpfulerror",
  "maintainers": [
    {
      "email": "smikes@cubane.com",
      "name": "smikes"
    },
    {
      "email": "ogd@aoaioxxysz.net",
      "name": "othiym23"
    },
    {
      "email": "i@izs.me",
      "name": "isaacs"
    }
  ],
  "keywords": [
    "json",
    "parse",
    "line",
    "doublequote",
    "error"
  ],
  "dist-tags": {
    "latest": "1.0.3"
  },
  "author": {
    "name": "Sam Mikes",
    "email": "smikes@cubane.com"
  },
  "_rev": "13-b26a8c6ffe8e887a1a3a0873eb015ee4",
  "description": "A drop-in replacement for JSON.parse that uses `jju` to give helpful errors",
  "readme": "# json-parse-helpfulerror\n\nA drop-in replacement for `JSON.parse` that uses\n<https://npmjs.org/jju> to provide more useful error messages in the\nevent of a parse error.\n\n# Example\n\n## Installation\n\n```\nnpm i -S json-parse-helpfulerror\n```\n\n## Use\n\n```js\nvar jph = require('json-parse-helpfulerror');\n\nvar notJSON = \"{'foo': 3}\";     // keys must be double-quoted in JSON\n\nJSON.parse(notJSON);            // throws unhelpful error\n\njph.parse(\"{'foo': 3}\")         // throws more helpful error: \"Unexpected token '\\''...\"\n```\n\n# License\n\nMIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/smikes/json-parse-helpfulerror.git"
  },
  "users": {
    "drveresh": true,
    "robmcguinness": true
  },
  "bugs": {
    "url": "https://github.com/smikes/json-parse-helpfulerror/issues"
  },
  "license": "MIT",
  "versions": {
    "1.0.1": {
      "name": "json-parse-helpfulerror",
      "version": "1.0.1",
      "description": "A drop-in replacement for JSON.parse that uses `jju` to give helpful errors",
      "main": "index.js",
      "scripts": {
        "test": "lab -c",
        "lint": "jslint --edition=latest --terse *.js"
      },
      "repository": {
        "type": "git",
        "url": "https://github.com/smikes/json-parse-helpfulerror.git"
      },
      "keywords": [
        "json",
        "parse",
        "line",
        "doublequote",
        "error"
      ],
      "author": {
        "name": "Sam Mikes",
        "email": "smikes@cubane.com"
      },
      "license": "MIT",
      "bugs": {
        "url": "https://github.com/smikes/json-parse-helpfulerror/issues"
      },
      "homepage": "https://github.com/smikes/json-parse-helpfulerror",
      "devDependencies": {
        "code": "^1.2.1",
        "jslint": "^0.7.1",
        "lab": "^5.1.1"
      },
      "gitHead": "c633769f865d4486a9e69f7aed5b19b54c93b8f7",
      "_id": "json-parse-helpfulerror@1.0.1",
      "_shasum": "e609307c9e70ff0a95d50ec92eca63952fde2a33",
      "_from": ".",
      "_npmVersion": "2.1.16",
      "_nodeVersion": "0.10.35",
      "_npmUser": {
        "name": "smikes",
        "email": "smikes@cubane.com"
      },
      "maintainers": [
        {
          "name": "smikes",
          "email": "smikes@cubane.com"
        }
      ],
      "dist": {
        "shasum": "e609307c9e70ff0a95d50ec92eca63952fde2a33",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/json-parse-helpfulerror/-/json-parse-helpfulerror-1.0.1.tgz",
        "integrity": "sha512-Z1dUaXlM4lwlTYObnIS88anuifrEx46ddNpurGHrysFkcVtOvaMqq5BZUQX9cBifIeXyDHUTtxgbPqs6QBnwfQ==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIQCHFN7M6J+gjbKZ7OCwYLMGYWrH7bmdI+gTMpBpRZOAxwIgGihYYVhCuVOay6r7i21Sm5Ok5tKsm0/4b3c2qPEdRCc="
          }
        ]
      }
    },
    "1.0.2": {
      "name": "json-parse-helpfulerror",
      "version": "1.0.2",
      "description": "A drop-in replacement for JSON.parse that uses `jju` to give helpful errors",
      "main": "index.js",
      "scripts": {
        "test": "lab -c",
        "lint": "jslint --edition=latest --terse *.js"
      },
      "repository": {
        "type": "git",
        "url": "https://github.com/smikes/json-parse-helpfulerror.git"
      },
      "keywords": [
        "json",
        "parse",
        "line",
        "doublequote",
        "error"
      ],
      "author": {
        "name": "Sam Mikes",
        "email": "smikes@cubane.com"
      },
      "license": "MIT",
      "bugs": {
        "url": "https://github.com/smikes/json-parse-helpfulerror/issues"
      },
      "homepage": "https://github.com/smikes/json-parse-helpfulerror",
      "devDependencies": {
        "code": "^1.2.1",
        "jslint": "^0.7.1",
        "lab": "^5.1.1"
      },
      "dependencies": {
        "jju": "^1.1.0"
      },
      "gitHead": "c633769f865d4486a9e69f7aed5b19b54c93b8f7",
      "_id": "json-parse-helpfulerror@1.0.2",
      "_shasum": "4ef9a4f12b960fc4d6fe54a3ffaea2ae328b9736",
      "_from": ".",
      "_npmVersion": "2.1.16",
      "_nodeVersion": "0.10.35",
      "_npmUser": {
        "name": "smikes",
        "email": "smikes@cubane.com"
      },
      "maintainers": [
        {
          "name": "smikes",
          "email": "smikes@cubane.com"
        }
      ],
      "dist": {
        "shasum": "4ef9a4f12b960fc4d6fe54a3ffaea2ae328b9736",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/json-parse-helpfulerror/-/json-parse-helpfulerror-1.0.2.tgz",
        "integrity": "sha512-uL20kzHjXdBjvo8NXz5lhtZh2BrVl9+RrthcrvQMZB3ddF42yEBwImFIAT33NYr469jtJFEd6pe3eefK1LjJiQ==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEQCIASbnu84s2Ue6uagH245UA9WqfnCoe30Lm/lSEC2vfxdAiBu9aN9vl0KoybKDox3zV8KINXQY2aX53B914daD2ny/g=="
          }
        ]
      }
    },
    "1.0.3": {
      "name": "json-parse-helpfulerror",
      "version": "1.0.3",
      "description": "A drop-in replacement for JSON.parse that uses `jju` to give helpful errors",
      "main": "index.js",
      "scripts": {
        "test": "lab -c",
        "lint": "jslint --edition=latest --terse *.js"
      },
      "repository": {
        "type": "git",
        "url": "https://github.com/smikes/json-parse-helpfulerror.git"
      },
      "keywords": [
        "json",
        "parse",
        "line",
        "doublequote",
        "error"
      ],
      "author": {
        "name": "Sam Mikes",
        "email": "smikes@cubane.com"
      },
      "license": "MIT",
      "bugs": {
        "url": "https://github.com/smikes/json-parse-helpfulerror/issues"
      },
      "homepage": "https://github.com/smikes/json-parse-helpfulerror",
      "devDependencies": {
        "code": "^1.2.1",
        "jslint": "^0.7.1",
        "lab": "^5.1.1"
      },
      "dependencies": {
        "jju": "^1.1.0"
      },
      "gitHead": "eedb116ec96b5c479be3919b526d6de0a521be5e",
      "_id": "json-parse-helpfulerror@1.0.3",
      "_shasum": "13f14ce02eed4e981297b64eb9e3b932e2dd13dc",
      "_from": ".",
      "_npmVersion": "2.1.16",
      "_nodeVersion": "0.10.35",
      "_npmUser": {
        "name": "smikes",
        "email": "smikes@cubane.com"
      },
      "maintainers": [
        {
          "name": "smikes",
          "email": "smikes@cubane.com"
        }
      ],
      "dist": {
        "shasum": "13f14ce02eed4e981297b64eb9e3b932e2dd13dc",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/json-parse-helpfulerror/-/json-parse-helpfulerror-1.0.3.tgz",
        "integrity": "sha512-XgP0FGR77+QhUxjXkwOMkC94k3WtqEBfcnjWqhRd82qTat4SWKRE+9kUnynz/shm3I4ea2+qISvTIeGTNU7kJg==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEYCIQDgeub2ejrVEQo8qeLvSsphCX/IvYBveL0GgBvoVg0qHwIhAJNE3qjFTTY/CbgqyKhrBH1pYL56j2Ip6550+C7u3WHZ"
          }
        ]
      }
    }
  },
  "name": "json-parse-helpfulerror",
  "time": {
    "modified": "2026-06-16T13:20:01.180Z",
    "created": "2015-01-04T01:52:51.557Z",
    "1.0.1": "2015-01-04T01:52:51.557Z",
    "1.0.2": "2015-01-04T01:56:37.286Z",
    "1.0.3": "2015-01-04T02:16:14.017Z"
  },
  "readmeFilename": "README.md",
  "homepage": "https://github.com/smikes/json-parse-helpfulerror"
}