2.0.4 • Published 7 years ago
https-checker v2.0.4
Check if a website has HTTPS
Uses:
const httpschecker = require('https-checker');
httpschecker.isHTTPSUrl('https://somesite.com'); // => true
httpschecker.isHTTPSUrl('http://someothersite.com'); // => false
httpschecker.supportsHTTPS('somesite.com', (support) => console.log(support)); // => true or false
To check a simple page for mixed content you can use httpschecker.
Or for futher info on checking HTTPS support & for full site mixed content checks, see: HTTPS Checker.