Module

x/oak/isMediaType.ts

A middleware framework for handling HTTP with Deno 🐿️ 🦕
Very Popular
Go to Latest
import * as mod from "https://dotland.deno.dev/x/oak@v12.0.1/isMediaType.ts";

Functions

Given a value of the content type of a request and an array of types, provide the matching type or false if no types are matched.