UNPKG

@octokit/webhooks

Version:

GitHub webhook events toolset for Node.js

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