INNER CODE UNIT · JavaScript
fromLog
cyrus-and/chrome-har-capturer · index.js:11
async function fromLog(url, log, options = {}) {
const replay = new Replay(url, log, options);
const stats = await replay.load();
return HAR.create([stats]);
}
module.exports = {run, fromLog};