package.json 6.6 KB
{
  "_args": [
    [
      {
        "raw": "har-validator@~4.2.1",
        "scope": null,
        "escapedName": "har-validator",
        "name": "har-validator",
        "rawSpec": "~4.2.1",
        "spec": ">=4.2.1 <4.3.0",
        "type": "range"
      },
      "/Users/fzy/project/koa2_Sequelize_project/node_modules/request"
    ]
  ],
  "_from": "har-validator@>=4.2.1 <4.3.0",
  "_id": "har-validator@4.2.1",
  "_inCache": true,
  "_location": "/har-validator",
  "_nodeVersion": "4.8.0",
  "_npmOperationalInternal": {
    "host": "packages-12-west.internal.npmjs.com",
    "tmp": "tmp/har-validator-4.2.1.tgz_1488636538686_0.5101928301155567"
  },
  "_npmUser": {
    "name": "ahmadnassri",
    "email": "ahmad@ahmadnassri.com"
  },
  "_npmVersion": "2.15.11",
  "_phantomChildren": {},
  "_requested": {
    "raw": "har-validator@~4.2.1",
    "scope": null,
    "escapedName": "har-validator",
    "name": "har-validator",
    "rawSpec": "~4.2.1",
    "spec": ">=4.2.1 <4.3.0",
    "type": "range"
  },
  "_requiredBy": [
    "/request"
  ],
  "_resolved": "https://registry.npmjs.org/har-validator/-/har-validator-4.2.1.tgz",
  "_shasum": "33481d0f1bbff600dd203d75812a6a5fba002e2a",
  "_shrinkwrap": null,
  "_spec": "har-validator@~4.2.1",
  "_where": "/Users/fzy/project/koa2_Sequelize_project/node_modules/request",
  "author": {
    "name": "Ahmad Nassri",
    "email": "ahmad@ahmadnassri.com",
    "url": "https://www.ahmadnassri.com/"
  },
  "bugs": {
    "url": "https://github.com/ahmadnassri/har-validator/issues"
  },
  "config": {
    "commitizen": {
      "path": "./node_modules/cz-conventional-changelog"
    }
  },
  "dependencies": {
    "ajv": "^4.9.1",
    "har-schema": "^1.0.5"
  },
  "description": "Extremely fast HTTP Archive (HAR) validator using JSON Schema",
  "devDependencies": {
    "babel-cli": "^6.18.0",
    "babel-plugin-add-module-exports": "^0.2.1",
    "babel-preset-env": "1.1.10",
    "babel-register": "^6.18.0",
    "codeclimate-test-reporter": "^0.4.0",
    "cz-conventional-changelog": "^1.2.0",
    "echint": "^4.0.1",
    "semantic-release": "^6.3.2",
    "snazzy": "^6.0.0",
    "tap": "^10.0.0"
  },
  "directories": {},
  "dist": {
    "shasum": "33481d0f1bbff600dd203d75812a6a5fba002e2a",
    "tarball": "https://registry.npmjs.org/har-validator/-/har-validator-4.2.1.tgz"
  },
  "echint": {
    "ignore": [
      "lib/**"
    ]
  },
  "engines": {
    "node": ">=4"
  },
  "files": [
    "lib",
    "src"
  ],
  "gitHead": "06cb69e2da150de1643bfe511f0374f23b7a5b11",
  "homepage": "https://github.com/ahmadnassri/har-validator",
  "keywords": [
    "har",
    "cli",
    "ajv",
    "http",
    "archive",
    "validate",
    "validator"
  ],
  "license": "ISC",
  "main": "lib/node4/promise.js",
  "maintainers": [
    {
      "name": "ahmadnassri",
      "email": "ahmad@ahmadnassri.com"
    }
  ],
  "name": "har-validator",
  "optionalDependencies": {},
  "readme": "# HAR Validator [![version][npm-version]][npm-url] [![License][npm-license]][license-url]\n\n> Extremely fast HTTP Archive ([HAR](https://github.com/ahmadnassri/har-spec/blob/master/versions/1.2.md)) validator using JSON Schema.\n\n[![Build Status][travis-image]][travis-url]\n[![Downloads][npm-downloads]][npm-url]\n[![Code Climate][codeclimate-quality]][codeclimate-url]\n[![Coverage Status][codeclimate-coverage]][codeclimate-url]\n[![Dependency Status][dependencyci-image]][dependencyci-url]\n[![Dependencies][david-image]][david-url]\n\n## Install\n\n```bash\nnpm install --only=production --save har-validator\n```\n\n## Usage\n\nI recommend using an optimized build matching your Node.js environment version, otherwise, the standard `require` would work just fine with any version of Node `>= v4.0` .\n\n```js\n/*\n * Node 7\n */\nconst validate = require('har-validator/lib/node7')\n\n/*\n * Node 6\n */\nconst validate = require('har-validator/lib/node6')\n\n/*\n * Node 4 (Default)\n */\nvar validate = require('har-validator')\n```\n\n## CLI Usage\n\nPlease refer to [`har-cli`](https://github.com/ahmadnassri/har-cli) for more info.\n\n## API\n\n**Note**: as of [`v2.0.0`](https://github.com/ahmadnassri/har-validator/releases/tag/v2.0.0) this module defaults to Promise based API. *For backward comptability with `v1.x` an [async/callback API](docs/async.md) is also provided*\n\n- [async API](docs/async.md)\n- [callback API](docs/async.md)\n- [Promise API](docs/promise.md) *(default)*\n\n----\n> :copyright: [ahmadnassri.com](https://www.ahmadnassri.com/) &nbsp;&middot;&nbsp;\n> License: [ISC][license-url] &nbsp;&middot;&nbsp;\n> Github: [@ahmadnassri](https://github.com/ahmadnassri) &nbsp;&middot;&nbsp;\n> Twitter: [@ahmadnassri](https://twitter.com/ahmadnassri)\n\n[license-url]: http://choosealicense.com/licenses/isc/\n\n[travis-url]: https://travis-ci.org/ahmadnassri/har-validator\n[travis-image]: https://img.shields.io/travis/ahmadnassri/har-validator.svg?style=flat-square\n\n[npm-url]: https://www.npmjs.com/package/har-validator\n[npm-license]: https://img.shields.io/npm/l/har-validator.svg?style=flat-square\n[npm-version]: https://img.shields.io/npm/v/har-validator.svg?style=flat-square\n[npm-downloads]: https://img.shields.io/npm/dm/har-validator.svg?style=flat-square\n\n[codeclimate-url]: https://codeclimate.com/github/ahmadnassri/har-validator\n[codeclimate-quality]: https://img.shields.io/codeclimate/github/ahmadnassri/har-validator.svg?style=flat-square\n[codeclimate-coverage]: https://img.shields.io/codeclimate/coverage/github/ahmadnassri/har-validator.svg?style=flat-square\n\n[david-url]: https://david-dm.org/ahmadnassri/har-validator\n[david-image]: https://img.shields.io/david/ahmadnassri/har-validator.svg?style=flat-square\n\n[dependencyci-url]: https://dependencyci.com/github/ahmadnassri/har-validator\n[dependencyci-image]: https://dependencyci.com/github/ahmadnassri/har-validator/badge?style=flat-square\n",
  "readmeFilename": "README.md",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/ahmadnassri/har-validator.git"
  },
  "scripts": {
    "codeclimate": "BABEL_ENV=test tap --coverage-report=text-lcov | codeclimate-test-reporter",
    "compile": "babel -q src",
    "coverage": "BABEL_ENV=test tap test --reporter silent --coverage --nyc-arg=--require --nyc-arg=babel-register",
    "pretest": "snazzy && echint",
    "semantic-release": "semantic-release pre && npm publish && semantic-release post",
    "test": "BABEL_ENV=test tap test --reporter spec --node-arg=--require --node-arg=babel-register",
    "test-one": "BABEL_ENV=test tap --reporter spec --node-arg=--require --node-arg=babel-register"
  },
  "standard": {
    "ignore": [
      "lib/**"
    ]
  },
  "version": "4.2.1"
}