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.
Why do you think that https://github.com/immortal/immortal is a good alternative to mimemagic