HAR Validator [![version][npm-version]][npm-url] [![License][license-image]][license-url]
> Extremely fast HTTP Archive (HAR) validator using JSON Schema.
[![Build Status][travis-image]][travis-url] [![Downloads][npm-downloads]][npm-url] [![Code Climate][codeclimate-quality]][codeclimate-url] [![Coverage Status][codeclimate-coverage]][codeclimate-url] [![Dependency Status][dependencyci-image]][dependencyci-url] [![Dependencies][david-image]][david-url]
Install
npm install --only=production --save har-validator
CLI Usage
Please refer to har-cli for more info.
API
Note: as of v2.0.0 this module defaults to Promise based API. For backward compatibility with v1.x an async/callback API is also provided
- async API
- callback API
- Promise API (default)
---- > :copyright: ahmadnassri.com · > License: [ISC][license-url] · > Github: @ahmadnassri · > Twitter: @ahmadnassri
[license-url]: http://choosealicense.com/licenses/isc/ [license-image]:
[travis-url]: https://travis-ci.org/ahmadnassri/har-validator [travis-image]:
[npm-url]: https://www.npmjs.com/package/har-validator [npm-version]: [npm-downloads]:
[codeclimate-url]: https://codeclimate.com/github/ahmadnassri/har-validator [codeclimate-quality]: [codeclimate-coverage]:
[david-url]: https://david-dm.org/ahmadnassri/har-validator [david-image]:
[dependencyci-url]: https://dependencyci.com/github/ahmadnassri/har-validator [dependencyci-image]: https://dependencyci.com/github/ahmadnassri/har-validator/badge?style=flat-square
Source
| 1 | # HAR Validator [![version][npm-version]][npm-url] [![License][license-image]][license-url] |
| 2 | |
| 3 | > Extremely fast HTTP Archive ([HAR](https://github.com/ahmadnassri/har-spec/blob/master/versions/1.2.md)) validator using JSON Schema. |
| 4 | |
| 5 | [![Build Status][travis-image]][travis-url] |
| 6 | [![Downloads][npm-downloads]][npm-url] |
| 7 | [![Code Climate][codeclimate-quality]][codeclimate-url] |
| 8 | [![Coverage Status][codeclimate-coverage]][codeclimate-url] |
| 9 | [![Dependency Status][dependencyci-image]][dependencyci-url] |
| 10 | [![Dependencies][david-image]][david-url] |
| 11 | |
| 12 | ## Install |
| 13 | |
| 14 | ```bash |
| 15 | npm install --only=production --save har-validator |
| 16 | ``` |
| 17 | |
| 18 | ## CLI Usage |
| 19 | |
| 20 | Please refer to [`har-cli`](https://github.com/ahmadnassri/har-cli) for more info. |
| 21 | |
| 22 | ## API |
| 23 | |
| 24 | **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 compatibility with `v1.x` an [async/callback API](docs/async.md) is also provided* |
| 25 | |
| 26 | - [async API](docs/async.md) |
| 27 | - [callback API](docs/async.md) |
| 28 | - [Promise API](docs/promise.md) *(default)* |
| 29 | |
| 30 | ---- |
| 31 | > :copyright: [ahmadnassri.com](https://www.ahmadnassri.com/) · |
| 32 | > License: [ISC][license-url] · |
| 33 | > Github: [@ahmadnassri](https://github.com/ahmadnassri) · |
| 34 | > Twitter: [@ahmadnassri](https://twitter.com/ahmadnassri) |
| 35 | |
| 36 | [license-url]: http://choosealicense.com/licenses/isc/ |
| 37 | [license-image]: https://img.shields.io/github/license/ahmadnassri/har-validator.svg?style=flat-square |
| 38 | |
| 39 | [travis-url]: https://travis-ci.org/ahmadnassri/har-validator |
| 40 | [travis-image]: https://img.shields.io/travis/ahmadnassri/har-validator.svg?style=flat-square |
| 41 | |
| 42 | [npm-url]: https://www.npmjs.com/package/har-validator |
| 43 | [npm-version]: https://img.shields.io/npm/v/har-validator.svg?style=flat-square |
| 44 | [npm-downloads]: https://img.shields.io/npm/dm/har-validator.svg?style=flat-square |
| 45 | |
| 46 | [codeclimate-url]: https://codeclimate.com/github/ahmadnassri/har-validator |
| 47 | [codeclimate-quality]: https://img.shields.io/codeclimate/github/ahmadnassri/har-validator.svg?style=flat-square |
| 48 | [codeclimate-coverage]: https://img.shields.io/codeclimate/coverage/github/ahmadnassri/har-validator.svg?style=flat-square |
| 49 | |
| 50 | [david-url]: https://david-dm.org/ahmadnassri/har-validator |
| 51 | [david-image]: https://img.shields.io/david/ahmadnassri/har-validator.svg?style=flat-square |
| 52 | |
| 53 | [dependencyci-url]: https://dependencyci.com/github/ahmadnassri/har-validator |
| 54 | [dependencyci-image]: https://dependencyci.com/github/ahmadnassri/har-validator/badge?style=flat-square |