W72crm_web-master/node_modules/har-validator
zhangwenzan c676fd5933 初始化crm前端代码 2025-05-27 11:25:53 +08:00
..
lib 初始化crm前端代码 2025-05-27 11:25:53 +08:00
node_modules/ajv 初始化crm前端代码 2025-05-27 11:25:53 +08:00
src 初始化crm前端代码 2025-05-27 11:25:53 +08:00
LICENSE 初始化crm前端代码 2025-05-27 11:25:53 +08:00
README.md 初始化crm前端代码 2025-05-27 11:25:53 +08:00
package.json 初始化crm前端代码 2025-05-27 11:25:53 +08:00

README.md

HAR Validator version License

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

Build Status Downloads Code Climate Coverage Status Dependency Status Dependencies

Install

npm install --only=production --save har-validator

Usage

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')

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 comptability with v1.x an async/callback API is also provided


©️ ahmadnassri.com  ·  License: ISC  ·  Github: @ahmadnassri  ·  Twitter: @ahmadnassri