Skip to navigation
Validate a a website with nodejs and vnu
03.04.18
function validate_doc(url) { const child = spawn('java',['-jar',`${vnu}`,'--format','json',url,'-u']); child.stderr.on('data', function (data) { var str = data.toString('utf8'); pages_to_validate[url]['issue'] = str; console.log(pages_to_validate[url]['issue']); }); }
https://www.npmjs.com/package/vnu-jar
Reply
Anonymous
Information Epoch 1732674628
Worse is better.
Home
Notebook
Contact us