Skip to main content

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

optionaliasdescriptionrequired
--throwError-texit program with code 1 when w3c validator response errorfalse

examples

w3c-validator checkUrl https://example.com/ -t // or --throwError