Bachir Soussi Chiadmi cefd1c2ad0 updated sys and created publi | %!s(int64=6) %!d(string=hai) anos | |
---|---|---|
.. | ||
lib | %!s(int64=7) %!d(string=hai) anos | |
src | %!s(int64=7) %!d(string=hai) anos | |
LICENSE | %!s(int64=7) %!d(string=hai) anos | |
README.md | %!s(int64=7) %!d(string=hai) anos | |
package.json | %!s(int64=6) %!d(string=hai) anos |
Extremely fast HTTP Archive (HAR) validator using JSON Schema.
npm install --only=production --save har-validator
I 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
.
/*
* Node 7
*/
const validate = require('har-validator/lib/node7')
/*
* Node 6
*/
const validate = require('har-validator/lib/node6')
/*
* Node 4 (Default)
*/
var validate = require('har-validator')
Please refer to har-cli
for more info.
Note: as of v2.0.0
this module defaults to Promise based API. For backward comptability with v1.x
an async/callback API is also provided
:copyright: ahmadnassri.com · License: ISC · Github: @ahmadnassri · Twitter: @ahmadnassri