UNPKG

@octokit/webhooks

Version:

GitHub webhook events toolset for Node.js

4 lines (3 loc) 283 B
import { Webhooks } from "../../index"; import { MiddlewareOptions } from "./types"; export declare function createNodeMiddleware(webhooks: Webhooks, { path, onUnhandledRequest, log, }?: MiddlewareOptions): (request: any, response: any, next?: Function | undefined) => Promise<any>;