@tracerbench/har
TypeScript icon, indicating that this package has built-in type declarations

8.0.0 • Public • Published

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);
}

Readme

Keywords

Package Sidebar

Install

npm i @tracerbench/har

Weekly Downloads

12

Version

8.0.0

License

BSD-2-Clause

Unpacked Size

5.59 kB

Total Files

4

Last publish

Collaborators

  • tsubomi
  • krisselden
  • lynchbomb
  • spham92