Skip to contents

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)
#> [1] 2632
types[types$type == "application/zip", ]
#>                 type                   parent
#> 1992 application/zip application/octet-stream
#>                                              aliases extensions    category
#> 1992 application/x-zip, application/x-zip-compressed        zip application
#>      detected_by
#> 1992   signature