https-checker
v2.0.4
Published
Uses: ```js const httpschecker = require('https-checker');
Downloads
5
Readme
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.