haribo
v0.2.0
Published
HTTP Archive generator (HAR), but sweet.
Downloads
69
Readme
haribo
This is experimental: it will change and its probably broken.
CLI
npm install -g haribo
Usage: haribo <url> [ options ]
Options:
--delay=0 Milliseconds to wait after page loads to get rendered
source and screenshots. (Defaul: `0`)
--screenshots Include screenshots. (Defaul: `false`)
-h, --help Show this help.
-v, --version Show version.
Programmatically
npm install haribo
import { createHar } from 'haribo';
createHar('http://example.com/')
.then((har) => {
// ...
})
.catch((error) => {
// ...
})