wilmoore/json-parse.js

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "json-parse",
  "description": "Curried function that calls `JSON.parse` on provided input returning either the parsed JSON or the specified default value if the data fails to parse as valid JSON instead of throwing a `SyntaxError`.",
  "version": "1.0.3",
  "author": "Wil Moore III <wil.moore@wilmoore.com>",
  "bugs": {
    "url": "https://github.com/wilmoore/json-parse.js/issues"
  },
  "dependencies": {
    "curry2": "^1.0.0"
  },
  "devDependencies": {
    "dependency-check": "^2.4.0",
    "fixpack": "^2.2.0",
    "istanbul": "^0.3.13",
    "nodemon": "^1.3.7",
    "standard": "^3.7.1",
    "tap-spec": "^2.2.2",
    "tape": "^4.0.0",
    "tape-catch": "^1.0.4"
  },
  "homepage": "https://github.com/wilmoore/json-parse.js",
  "keywords": [
    "JSON",
    "JSON.parse",
    "catch",
    "curried",
    "functional",
    "higher-order",
    "json",
    "json-parse",
    "parse",
    "parse json",
    "parser",
    "point-free",
    "pointfree",
    "safe",
    "try",
    "try/catch"
  ],
  "license": "MIT",
  "main": "index.js",
  "preferGlobal": false,
  "private": false,
  "repository": {
    "type": "git",
    "url": "https://github.com/wilmoore/json-parse.js"
  },
  "scripts": {
    "cover": "istanbul cover test.js",
    "dependency-check": "dependency-check ./package.json && dependency-check ./package.json --unused --no-dev",
    "dev": "nodemon -x 'npm run test --silent' -e 'js json'",
    "fixpack": "fixpack",
    "release-major": "npm version major && git push --follow-tags && npm publish",
    "release-minor": "npm version minor && git push --follow-tags && npm publish",
    "release-patch": "npm version patch && git push --follow-tags && npm publish",
    "standard": "standard",
    "test": "npm run dependency-check && npm run standard --silent && node test.js | tap-spec"
  }
}