2019-03-08 00:15:47 +00:00
# HAR Validator
2019-01-17 18:22:05 +00:00
2019-03-08 00:15:47 +00:00
[![License][license-image]][license-url] [![version][npm-image]][npm-url] [![Build Status][circle-image]][circle-url]
2019-01-17 18:22:05 +00:00
2019-03-08 00:15:47 +00:00
> Extremely fast HTTP Archive ([HAR](https://github.com/ahmadnassri/har-spec/blob/master/versions/1.2.md)) validator using JSON Schema.
2019-01-17 18:22:05 +00:00
## Install
```bash
2019-03-08 00:15:47 +00:00
npm install har-validator
2019-01-17 18:22:05 +00:00
```
## CLI Usage
Please refer to [`har-cli` ](https://github.com/ahmadnassri/har-cli ) for more info.
## API
2019-03-08 00:15:47 +00:00
**Note**: as of [`v2.0.0` ](https://github.com/ahmadnassri/node-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_
2019-01-17 18:22:05 +00:00
- [async API ](docs/async.md )
- [callback API ](docs/async.md )
2019-03-08 00:15:47 +00:00
- [Promise API ](docs/promise.md ) _(default)_
2019-01-17 18:22:05 +00:00
2019-03-08 00:15:47 +00:00
---
> Author: [Ahmad Nassri](https://www.ahmadnassri.com/) •
> Github: [@ahmadnassri](https://github.com/ahmadnassri) •
2019-01-17 18:22:05 +00:00
> Twitter: [@ahmadnassri](https://twitter.com/ahmadnassri)
2019-03-08 00:15:47 +00:00
[license-url]: LICENSE
[license-image]: https://img.shields.io/github/license/ahmadnassri/node-har-validator.svg?style=for-the-badge& logo=circleci
2019-01-17 18:22:05 +00:00
2019-03-08 00:15:47 +00:00
[circle-url]: https://circleci.com/gh/ahmadnassri/workflows/node-har-validator
[circle-image]: https://img.shields.io/circleci/project/github/ahmadnassri/node-har-validator/master.svg?style=for-the-badge& logo=circleci
2019-01-17 18:22:05 +00:00
[npm-url]: https://www.npmjs.com/package/har-validator
2019-03-08 00:15:47 +00:00
[npm-image]: https://img.shields.io/npm/v/har-validator.svg?style=for-the-badge& logo=npm