checkUrl
check html file from a url.
usage
note
w3c-validator use Puppeteer under the hood to evaluate Javascript and return html file.
w3c-validator checkUrl <url> [-t || --throwError]
[ ] = optionnal
< > = required
options
option | alias | description | required |
---|---|---|---|
--throwError | -t | exit program with code 1 when w3c validator response error | false |
examples
w3c-validator checkUrl https://example.com/ -t // or --throwError