import { Entry , Har } from 'har-format' ; export class HarBuilder { constructor ( private readonly entries ) { } public build ( ) { const { name , version , homepage : comment } = require ( '../../package.json' ) ; return { log : { version : '1.2' , pages : [ ] , creator : { name , version , comment } , entries : this . entries } } ; } }