testssl

Wrapper for the testssl project. Returns JSON.

Usage no npm install needed!

<script type="module">
  import testssl from 'https://cdn.skypack.dev/testssl';
</script>

README

LINUX ONLY

Info

This wrapper is based on: https://github.com/drwetter/testssl.sh

You may have to install:

hexdump

apt install bsdmainutils

git

apt install git

Install

npm i testssl

Usage

This will take 1-2 minutes before returning the data as JSON

index.js

const { testssl } = require("testssl");

(async () => {
    const a = await testssl('example.com');
    console.log(a);
})();