mimetype
https://github.com/gabriel-vasile/mimetype
Go
A fast Golang library for media type and file extension detection, based on magic numbers
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Go not yet supported1 Subscribers
Add a CodeTriage badge to mimetype
Help out
- Issues
- Detect MP3s whose ID3v2 tag is larger than 10MB
- MP3s with ID3v2 tags larger than 10MB no longer detected as audio/mpeg (regression since v1.4.14)
- p12: add detection for PKCS #12 archives
- Add support for Peppol XML documents
- build(deps): bump the github-actions group across 1 directory with 4 updates
- add semicolon separated values
- js: add legacy mime types
- Fix doc detection that is wrongly detected as ppt
- add new MIME types.
- Add support for inode/* MIME types in DetectFile
- Docs
- Go not yet supported