mime_types: The type registry

View source: R/registry.R

mime_typesR Documentation

The type registry

Description

Every type zumime knows, with its parent, aliases, extensions and the kind of evidence that detects it.

Usage

mime_types()

Value

A data frame with one row per canonical type and columns type, parent (NA for the root, application/octet-stream), aliases and extensions (list columns of character vectors, the canonical extension first), category (the top-level type) and detected_by ("signature", "container", "text", "extension" or "registered").

See Also

mime_parent() for one type's lineage.

Other registry: mime_extensions(), mime_guess(), mime_is(), mime_parent()

Examples

types <- mime_types()
nrow(types)
types[types$type == "application/zip", ]

zumime documentation built on Nov. 12, 2026, 1:07 a.m.