Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
RunKit + npm: seo-html-defect-checker
node v8.17.0
endpoint
share
tweet
const {Checker, Rules} = require('seo-html-defect-checker') const htmlText = '<html><head></head><body><a href="#">test</a></body></html>' const c = new Checker(htmlText) const myRules = [ Rules.definedRules.aTagWithoutRel, Rules.definedRules.dontHaveMetaDescription ] c.check(myRules, results => { console.log(results) })
Created from: https://npm.runkit.com/seo-html-defect-checker
Loading…
Clone and edit this document