@tracerbench/har

v8.0.0
HAR json typescript interfaces
har typescript

HAR JSON Typescript Interfaces

Provides typing to parsed JSON from a HAR archive.

Example

import { Archive } from "@tracerbench/har";
import { readFileSync } from "fs";

const archive: Archive = JSON.parse(readFileSync("path/to/archive.har"), "utf8");

for (const entry of archive.log.entries) {
  console.log(entry.request.url);
}
npm i @tracerbench/har

Metadata

Downloads