@types/create-cert
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.1 • Public • Published

    Installation

    npm install --save @types/create-cert

    Summary

    This package contains type definitions for create-cert (https://github.com/lukechilds/create-cert).

    Details

    Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/create-cert.

    index.d.ts

    // Type definitions for create-cert 1.0
    // Project: https://github.com/lukechilds/create-cert
    // Definitions by: Chris Midgley <https://github.com/midgleyc>
    // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
    // Minimum TypeScript Version: 3.4
    
    import { CertificateCreationOptions } from 'pem';
    
    declare function createCert(opts?: createCert.Options | string): Promise<createCert.CertificateData>;
    
    export = createCert;
    
    declare namespace createCert {
        interface Options extends CertificateCreationOptions {
            days?: number | undefined;
            commonName?: string | undefined;
        }
    
        interface CertificateData {
            key: string;
            cert: string;
            caCert: string;
        }
    }

    Additional Details

    • Last updated: Thu, 08 Jul 2021 09:08:19 GMT
    • Dependencies: @types/pem
    • Global values: none

    Credits

    These definitions were written by Chris Midgley.

    Keywords

    none

    Install

    npm i @types/create-cert

    DownloadsWeekly Downloads

    108

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    4.09 kB

    Total Files

    4

    Last publish

    Collaborators

    • types