New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

whynopadlock

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

whynopadlock

Checks for http connections on an https site

  • 1.0.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Circle CI

HTTPS Crawler from WhyNoPadlock

Setup

npm i whynopadlock --save

Project setup

You will need to create a new file for your project example.js and then from in there you will need to add a basic setup structure to take in pages to test as an array, look at the Usage instructions below.

Usage whynopadlock

import { whynopadlock } from 'whynopadlock';

var pages = [
  'https://www.example.com/'
];

whynopadlock( pages );

insecurity

import { insecurity } from 'whynopadlock';

var pages = [
  'https://www.example.com/'
];

insecurity({
  pages,
  cb: () => {},
  whitelist: [
    /w3\.com/
  ],
  timeout: 2000,
  showErrorsOnly: false,
  showRobotsErrors: true
});

showRobotsErrors - This will display an error when a robots or googleBot meta tag is displayed
showErrorsOnly - This will just display when an error is found (No green ok message)

You can now run either of these in the console with node example.js

Thanks

Keywords

FAQs

Package last updated on 24 Nov 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc