Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/keywork/http/mod.ts>routerMethodToHTTPMethod

A library for building V8 Isolate web apps on Cloudflare Workers, Deno, and Node.JS
Latest
variable routerMethodToHTTPMethod
import { routerMethodToHTTPMethod } from "https://deno.land/x/keywork@v6.2.1/http/mod.ts";

Given a standardized uppercase method verb such as GET, return the normalized form.

type

Map<RouterMethod, HTTPMethod>