🛂 html5-validator
Dead-simple HTML5 validator using API Provided by W3.
Install
Using NPM
$ npm install html5-validator --save
Using Yarn
$ yarn add html5-validator
If you want to use CLI version, please install it globally.
# NPM $ npm install html5-validator -g # Yarn $ yarn global add html5-validator
Usage
const validate = // Check website // Check File // Check Sourceconst htmlSource = `<!DOCTYPE html><html><head><title>HTML5 Validator</title></head><body>Content goes here...</body></html>`
CLI
html5v - W3 Validation Tool USAGE html5v [source] ARGUMENTS [source] Source could be url, filename, or quoted strings. optional OPTIONS --skip-warning Skip warning message. optional
License
MIT © oknoorap