Fast, dependency-free Go package to infer binary file types based on the magic numbers header signature
-
Updated
Mar 15, 2025 - Go
8000
Fast, dependency-free Go package to infer binary file types based on the magic numbers header signature
Powerful and versatile MIME sniffing package using pre-compiled glob patterns, magic number signatures, XML document namespaces, and tree magic for mounted volumes, generated from the XDG shared-mime-info database.
Get the mime type / content type of a file from its extension without external dependencies
Simple interface to libmagic for Go Programming Language
Comparison of Go MIME type detection libraries
Golang package for making sensible guesses about file formats from Url strings
A simple CLI tool that prints golang's interpretation of a file's mime type (as recognized by http.DetectContentType).
Command line application for organizing files
Add a description, image, and links to the mime-types topic page so that developers can more easily learn about it.
To associate your repository with the mime-types topic, visit your repo's landing page and select "manage topics."