INNER CODE UNIT · JavaScript

run

cyrus-and/chrome-har-capturer · index.js:7

function run(urls, options = {}) {
    return new Loader(urls, options);
}

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

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…