3.1.1 • Published 2 years ago

har-examples v3.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
2 years ago

har-examples

CI

A collection of HAR files for developing against the HAR specification.

npm.io

Installation

npm install --save-dev har-examples

Usage

const hars = require('har-examples');

console.log(hars['short']);

/* {
  "log": {
    "entries": [
      {
        "startedDateTime": "2021-07-09T23:28:52.627Z",
        "time": 85,
        "request": {
          "method": "GET",
          "url": "https://httpbin.org/get",
          "httpVersion": "HTTP/1.1",
          "cookies": [],
          "headers": [],
          "queryString": [],
          "bodySize": -1,
          "headersSize": -1
        },
        "response": {
          "status": 200,
          "statusText": "OK",
          "httpVersion": "HTTP/1.1",
          "headers": [
            {
              "name": "Content-Type",
              "value": "application/json"
            },
            {
              "name": "Content-Length",
              "value": 404
            }
          ],
          "content": {
            "size": 404,
            "mimeType": "application/json",
            "text": "{\"args\":{},\"headers\":{\"Accept\":\"*\/*\",\"Accept-Encoding\":\"gzip, deflate, br\",\"Cache-Control\":\"no-cache\",\"Host\":\"httpbin.org\"},\"origin\":\"127.0.0.1\",\"url\":\"https://httpbin.org/get\"}"
          },
          "headersSize": -1,
          "bodySize": -1
        }
      }
    ]
  }
} */
3.1.1

2 years ago

3.1.0

2 years ago

3.0.0

2 years ago

2.1.0

2 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago