@website-checks/website-checks

1.20.3 • Public • Published

website-checks

Build Status npm (tag) Maintenance Downloads Total Downloads Month

website-checks checks websites with multiple services and generates PDF files of the reports.

These are currently:

Installation

Node setup

Install the package:

yarn global add @website-checks/website-checks
# or
npm i -g @website-checks/website-checks

Only the current master and LTS releases of NodeJS are tested.
NodeJS >=10.12.0 is recommended.

Docker setup

In docker-compose.yml, modify the TARGET_URL variable to change the website.

Then run:

docker-compose up

Only Docker Engine versions 18.06.0+ are supported since the Docker Compose file version is 3.7.

Usage

website-checks example.com

Change output directory

website-checks example.com --output pdf would save all PDF files to the local pdf directory.

CLI flags

Currently the following CLI flags will run the matching checks:

--check-your-website
--crtsh
--cryptcheck
--hstspreload
--httpobservatory
--lighthouse
--psi
--securityheaders
--ssllabs
--webbkoll
--webhint
--yellowlab

For example website-checks example.com --lighthouse --securityheaders will run the Lighthouse and Security Headers checks.

Known issues

missing Chrome / Chromium dependency for Windows binary (.exe)

On Windows it may happen that the bundled binary throws the following error:

UnhandledPromiseRejectionWarning: Error: Chromium revision is not downloaded. Run "npm install" or "yarn install" at Launcher.launch

This is a known issue with all solutions like pkg and nexe and expected as Chromium is not bundled with the binary which would make it much bigger.

In most cases it should be solved by globally installing puppeteer or by having Chrome or Chromium installed and in PATH.

Package Sidebar

Install

npm i @website-checks/website-checks

Weekly Downloads

0

Version

1.20.3

License

ISC

Unpacked Size

36.7 kB

Total Files

43

Last publish

Collaborators

  • myisaak