Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/keywork/types/mime-db.d.ts>MimeEntry

A library for building V8 Isolate web apps on Cloudflare Workers, Deno, and Node.JS
Go to Latest
interface MimeEntry
import { type MimeEntry } from "https://deno.land/x/keywork@v6.0.1/types/mime-db.d.ts";

Properties

readonly
optional
source: MimeSource | undefined

Where the mime type is defined. If not set, it's probably a custom media type.

readonly
optional
extensions: ReadonlyArray<string> | undefined

Known extensions associated with this mime type.

readonly
optional
compressible: boolean | undefined

Whether a file of this type can be gzipped.

readonly
optional
charset: string | undefined

The default charset associated with this type, if any.