Share your code.
A node.js library for testing files or url's against the w3c html validator.
npm install w3cjs
var w3cjs = ;var results = w3cjs;
Example async testing with Mocha
var w3cjs = ;
Older versions < 0.2.0
w3c has changed their validator API to not include some old options. It will eventually be fully deprecated and everyone is advised to update to 0.3.0 of this module.
doctype: 'HTML5' // Defaults false for autodetectcharset: 'utf-8' // Defaults false for autodetect