Skip to content

FEAT: Expose Web Standard middleware #2840

Open
@wolfy1339

Description

@wolfy1339

Follow up to octokit/webhooks.js#1078

Describe the need

Currently, octokit only supports creating middleware for Node.js ,
but there are times when I want to use octokit in an environment other than Node.js .
This is not a big problem with runtimes that are compatible with Node.js, such as Deno and Bun,
Edge runtimes such as Cloudflare Workers may not offer Node.js compatibility.
Therefore, it is necessary to provide Middleware that uses WebStandard API (Request/Response).

SDK Version

No response

API Version

No response

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: Up for grabsIssues that are ready to be worked on by anyoneType: FeatureNew feature or request

    Type

    Projects

    Status

    🔥 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions