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

4.0.3 • Public • Published

Installation

npm install --save @types/greenlock-express

Summary

This package contains type definitions for greenlock-express (https://git.rootprojects.org/root/greenlock-express.js.git).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/greenlock-express.

index.d.ts

import { RequestListener } from "http";

export interface Options {
    packageRoot: string;
    maintainerEmail: string;
    configDir: string;
    cluster: boolean;
    workers?: number;
}

export interface Serve {
    ready: (app?: RequestListener) => Serve;
    master: (app?: RequestListener) => Serve;
    serve: (app: RequestListener) => void;
}

export function init(o: Options | (() => Options)): Serve;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: none

Credits

These definitions were written by Joseph Hendrix.

/@types/greenlock-express/

    Package Sidebar

    Install

    npm i @types/greenlock-express

    Weekly Downloads

    206

    Version

    4.0.3

    License

    MIT

    Unpacked Size

    3.46 kB

    Total Files

    5

    Last publish

    Collaborators

    • types