Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 8.2% on proxy.golang.org

proxy.golang.org : github.com/zRedShift/mimemagic/v2

Package mimemagic implements MIME sniffing 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. To generate your own database simply remove the leading space, point to the directory with freedesktop.org package files (freedesktop.org.xml, if it exists, is always processed first and Override.xml is always processed last), and run go generate: To use the default freedesktop.org.xml file provided in this package: globs.go is generated unformatted so it's a good idea to run this for your OCD

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/z%21red%21shift/mimemagic/v2
Keywords: detection, extension, filetype, freedesktop, go, golang, magic-numbers, mime, mime-database, mime-types, sniffing, xdg
License: GPL-2.0
Latest release: about 1 month ago
Namespace: github.com/zRedShift/mimemagic
Stars: 88 on GitHub
Forks: 9 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 8 days ago