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
- Add Support for Pgp-Encrypted Files
- DetectReader always text/plain; charset=utf-8
- Add support for getting MIME from extension
- Move the matcher package out of internal
- Add support for GIMP ggr, gpl, xcf, pat, gbr and gih file formats
- Decide whether to replace application/javascript with text/javascript
- Add support for yaml file format
- Python wrapping?
- Super-charging with other common repos
- Reorder matching funcs
- Docs
- Go not yet supported