mime@0.2.0
📦 remixView on GitHub →
✨ 2 features🔧 2 symbols
Summary
This release introduces two new utility functions for handling Content-Type headers with automatic charset detection for text-based MIME types.
✨ New Features
- Added detectContentType(extension) function which returns a Content-Type header value including charset for text-based types.
- Added mimeTypeToContentType(mimeType) function which converts a MIME type to a Content-Type header value with charset for text-based types.
🔧 Affected Symbols
detectContentTypemimeTypeToContentType