@types/get-ssl-certificate
TypeScript icon, indicating that this package has built-in type declarations

2.3.3 • Public • Published

Installation

npm install --save @types/get-ssl-certificate

Summary

This package contains type definitions for get-ssl-certificate (https://github.com/johncrisostomo/get-ssl-certificate#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/get-ssl-certificate.

index.d.ts

/// <reference types="node" />

import { PeerCertificate } from "tls";

/**
 * @async
 */
export function get(
    url: string,
    timeout?: number,
    port?: number,
    protocol?: string,
    detailed?: boolean,
): Promise<PeerCertificate & { pemEncoded: string }>;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: @types/node

Credits

These definitions were written by Piotr Błażejewicz.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/get-ssl-certificate

Weekly Downloads

82

Version

2.3.3

License

MIT

Unpacked Size

3.29 kB

Total Files

5

Last publish

Collaborators

  • types