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
- Mismatched MIME type detected for password protected docx, pttx, xlsx
- Fix Zip file tokenization
- Export instances of supported MIME types to make checking easier
- add programmatic list of supported formats
- Add support for yaml and markdown file format
- The library failed to detect .pfx extension
- PPT detected as 'application/x-ole-storage'
- Outlook mail is detected as msword (v1.4.0) and as x-ole-storage (v1.4.1)
- Audio stream recording file extension is not detected
- Added support of netpbm files
- Docs
- Go not yet supported