har-validator
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"name": "har-validator", | ||
@@ -4,0 +4,0 @@ "description": "Extremely fast HTTP Archive (HAR) validator using JSON Schema", |
# HAR Validator [![version][npm-version]][npm-url] [![License][npm-license]][license-url] | ||
Extremely fast HTTP Archive (HAR) validator using JSON Schema. | ||
Extremely fast HTTP Archive ([HAR](http://www.softwareishard.com/blog/har-12-spec/)) validator using JSON Schema. | ||
@@ -9,8 +9,2 @@ [![Build Status][travis-image]][travis-url] | ||
## Table of contents | ||
- [Installation](#installation) | ||
- [Usage](#usage) | ||
- [License](#license) | ||
## Installation | ||
@@ -49,2 +43,23 @@ | ||
Include the module in your code and use directly or with any of the utility methods to validate sub-schemas: | ||
| method | description | | ||
| ------------- | --------------------------------------------------------------------------------------------------------- | | ||
| `cache` | validates a [cache](http://www.softwareishard.com/blog/har-12-spec/#cache) object | | ||
| `cacheEntry` | validates a [beforeRequest | afterRequest](http://www.softwareishard.com/blog/har-12-spec/#cache) objects | | ||
| `content` | validates a [content](http://www.softwareishard.com/blog/har-12-spec/#content) object | | ||
| `cookie` | validates a [cookie](http://www.softwareishard.com/blog/har-12-spec/#cookie) object | | ||
| `creator` | validates a [creator](http://www.softwareishard.com/blog/har-12-spec/#creator) object | | ||
| `entry` | validates a [entry](http://www.softwareishard.com/blog/har-12-spec/#entry) object | | ||
| `log` | validates a [log](http://www.softwareishard.com/blog/har-12-spec/#log) object | | ||
| `page` | validates a [page](http://www.softwareishard.com/blog/har-12-spec/#page) object | | ||
| `pageTimings` | validates a [pageTimings](http://www.softwareishard.com/blog/har-12-spec/#pageTimings) object | | ||
| `postData` | validates a [postData](http://www.softwareishard.com/blog/har-12-spec/#postData) object | | ||
| `record` | validates a [record](http://www.softwareishard.com/blog/har-12-spec/#headers) object | | ||
| `request` | validates a [request](http://www.softwareishard.com/blog/har-12-spec/#request) object | | ||
| `response` | validates a [response](http://www.softwareishard.com/blog/har-12-spec/#response) object | | ||
| `timings` | validates a [timings](http://www.softwareishard.com/blog/har-12-spec/#timings) object | | ||
###### Example | ||
```js | ||
@@ -51,0 +66,0 @@ var HAR = require('har.json'); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
31057
105
0