Socket
Socket
Sign inDemoInstall

ssl-labs-screenshot

Package Overview
Dependencies
140
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ssl-labs-screenshot

Capture a trimmed screenshot of the SSL Labs report for a given domain


Version published
Weekly downloads
1
Maintainers
1
Created
Weekly downloads
 

Readme

Source

SSL Labs Screenshot

npm version Known Vulnerabilities FOSSA Status

Capture a trimmed screenshot of the SSL Labs report for a given domain.

Requirements

  • Node.js (version 14 or higher)
  • A modern operating system capable of running Puppeteer (Windows, macOS, or Linux)

Installation

Install the package globally to use it as a command-line tool:

npm install -g ssl-labs-screenshot

Or, install it locally for use in your project:

npm install ssl-labs-screenshot

Usage

Command Line

After installing the package globally, you can use the ssl-labs-screenshot command:

ssl-labs-screenshot example.com

This will generate a screenshot named example.com_report.png in the current directory.

In Your Project

You can also use the captureSSLLabsScreenshot function in your project:

import { captureSSLLabsScreenshot } from 'ssl-labs-screenshot';
captureSSLLabsScreenshot('example.com');

Features

  • Capture a detailed screenshot from SSL Labs.
  • Automatic navigation to a IPv4 host if both IPv4 and IPv6 hosts are present.
  • Returns the overall SSL rating grade for the domain.
  • Error handling for invalid domains or issues with SSL Labs.

Example Output

✔ Overall rating: A
✔ Screenshot saved as www.ssllabs.com_report.png

Issues and Feedback

For any issues, feedback, or suggestions, please open a new issue in the GitHub repository.

License

The scripts and documentation in this project are released under the MIT License

FOSSA Status

Keywords

FAQs

Last updated on 28 Aug 2023

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc