1.0.6 • Published 6 years ago

whynopadlock v1.0.6

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

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

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago