# har-validator

> Extremely fast HTTP Archive (HAR) validator using JSON Schema

Latest version **5.1.5** (published 2020-07-30) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install har-validator
pnpm add har-validator
yarn add har-validator
bun add har-validator
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 5.1.5 |
| Published | 2020-07-30 |
| First published | 2015-02-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=6 |
| Dependencies | 2 |
| Unpacked size | 8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 64 |
| Author | Ahmad Nassri |
| Maintainers | ahmadnassri |
| Keywords | har, cli, ajv, http, archive, validate, validator |

## Links

- npm: https://www.npmjs.com/package/har-validator
- Repository: https://github.com/ahmadnassri/node-har-validator
- Issues: https://github.com/ahmadnassri/node-har-validator/issues
- npm.io page: https://npm.io/package/har-validator

## Dependencies (2)

- [ajv](https://npm.io/package/ajv.md) ^6.12.3
- [har-schema](https://npm.io/package/har-schema.md) ^2.0.0

## Alternatives

- [d3-force-3d](https://npm.io/package/d3-force-3d.md) — 1.0M weekly downloads
- [ng2-charts](https://npm.io/package/ng2-charts.md) — 486.8K weekly downloads
- [@arcgis/core](https://npm.io/package/@arcgis/core.md) — 257.8K weekly downloads
- [react-sparklines](https://npm.io/package/react-sparklines.md) — 249.3K weekly downloads
- [react-native-gifted-charts](https://npm.io/package/react-native-gifted-charts.md) — 182.3K weekly downloads

## Recent versions

- 5.1.5 (latest) — 2020-07-30
- 5.1.4 — 2020-07-30
- 5.1.3 — 2018-11-11
- 5.1.0 — 2017-11-03
- 5.0.3 — 2017-05-14
- 5.0.2 — 2017-03-14
- 5.0.1 — 2017-03-14
- 5.0.0 — 2017-03-14
- 4.2.1 — 2017-03-04
- 4.2.0 — 2016-12-04
- 4.1.2 — 2016-12-04
- 4.1.1 — 2016-12-04
- 4.1.0 — 2016-12-04
- 4.0.4 — 2016-12-04
- 4.0.3 — 2016-12-04
- … 38 more at https://npm.io/package/har-validator/versions

## README

# HAR Validator

[![license][license-img]][license-url]
[![version][npm-img]][npm-url]
[![super linter][super-linter-img]][super-linter-url]
[![test][test-img]][test-url]
[![release][release-img]][release-url]

[license-url]: LICENSE
[license-img]: https://badgen.net/github/license/ahmadnassri/node-har-validator

[npm-url]: https://www.npmjs.com/package/har-validator
[npm-img]: https://badgen.net/npm/v/har-validator

[super-linter-url]: https://github.com/ahmadnassri/node-har-validator/actions?query=workflow%3Asuper-linter
[super-linter-img]: https://github.com/ahmadnassri/node-har-validator/workflows/super-linter/badge.svg

[test-url]: https://github.com/ahmadnassri/node-har-validator/actions?query=workflow%3Atest
[test-img]: https://github.com/ahmadnassri/node-har-validator/workflows/test/badge.svg

[release-url]: https://github.com/ahmadnassri/node-har-validator/actions?query=workflow%3Arelease
[release-img]: https://github.com/ahmadnassri/node-har-validator/workflows/release/badge.svg

> Extremely fast HTTP Archive ([HAR](https://github.com/ahmadnassri/har-spec/blob/master/versions/1.2.md)) validator using JSON Schema.

## Install

```bash
npm install har-validator
```

## CLI Usage

Please refer to [`har-cli`](https://github.com/ahmadnassri/har-cli) for more info.

## API

**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_

- [async API](docs/async.md)
- [callback API](docs/async.md)
- [Promise API](docs/promise.md) _(default)_

---
_Source: https://npm.io/package/har-validator · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
