MIMEType.prototype.toString - Node documentation
method MIMEType.prototype.toString

Usage in Deno

import { MIMEType } from "node:util";
MIMEType.prototype.toString(): string

The toString() method on the MIMEType object returns the serialized MIME.

Because of the need for standard compliance, this method does not allow users to customize the serialization process of the MIME.

Return Type

string