0.0.3 • Published 3 years ago
console-check v0.0.3
console-check
Get console logs, warnings and errors for a list of urls. It uses Puppeteer to navigate to the urls and capture console messages which are then sent to stdout (if any) with the following format:
{url}:{ERROR | WARNING | LOG}:{message}
Install
npm i console-check -g
Use
$ console-check --help
NAME
console-check -- Get console messages for a list of urls.
OPTIONS
-k, --keep-open {ms} (default 1000) Milliseconds to wait until closing each page
-c, --concurrency {n} (default 10) Max number of pages requested at the same time
EXAMPLES
cat urls.txt | console-check
echo 'https://example.com' | console-check