the custom more powerful mime-type utility can work with mime-db.
A comprehensive library for mime-type mapping
Get the mime type of a stream
Get the file extension and MIME type from a file
A simple Mime type getter
A tiny (2.8kB) and fast utility for getting a MIME type from an extension or filename
Simple extension to mime-type
Create a full Content-Type header given a MIME type or extension and cache the result
MIME type parsing for Bare
parse a data uri into mime type and buffer
A comprehensive library for mime-type mapping (with browserify support)
Get the mime-type of a readable stream, non-destructive
A mime type catalog driven by filename extensions.
Utility to parse mime type from a file content
mime type/ext functions
Read the start of a stream to determine its mime type. Returns the mime type and a new consumable stream.
A comprehensive library for mime-type mapping without a filesystem dependency
650+ file extension to MIME type mappings, based on mime-db
mime type lookup for browser video and audio
A fork of mime-type by jshttp. This has additional functionality to list all extensions for a mime type
Detect the MIME type of a Buffer, Uint8Array, ArrayBuffer, ReadableStream, file path and file name, with async method.
Detect mime type and encoding (aka Content-Type) from buffer, file content and filename.
A mime type catalog driven by filename extensions.
Check the image file of a Buffer/Uint8Array that matched expected image MIME-type.
A Rust library for handling MIME types.
A comprehensive collection of MIME types (media types) as string constants
DIDComm communication helper for vade
通过文件扩展名猜测 MIME 类型,使用 PHF 实现 O(1) 查找
A super fast file-manager written in rust
Small crate to infer file type based on magic number signatures
Small crate to infer file type based on magic number signatures
Backend for Zenoh using the file system
Rust helper library for the Fulmen ecosystem - foundry catalogs, config utilities, and cross-platform helpers
lightweight and minimalistic single-page webserver
An implementation of the Simple File Format Family in Rust.
Wayland clipboard manager with fast persistent history and multi-media support
Detect MIME types from file extensions, filenames, and binary content using magic byte signatures. Includes 200+ extension mappings, 30+ magic byte patterns, custom registration, charset detection, Accept header parsing, and content negotiation.
Gets mime types for specific media types
Returns the MIME type of a local file
mime-types-data provides a registry for information about MIME media type definitions. It can be used with the Ruby mime-types library or other software to determine defined filename extensions for MIME types, or to use filename extensions to look up the likely MIME type definitions. ==== To Install:
The mime-types library provides a library and registry for information about MIME content type definitions. It can be used to determine defined filename extensions for MIME types, or to use filename extensions to look up the likely MIME type definitions. Version 3.0 is a major release that requires Ruby 2.0 compatibility and removes deprecated functions. The columnar registry format introduced in 2.6 has been made the primary format; the registry data has been extracted from this library and put into [mime-types-data][data]. Additionally, mime-types is now licensed exclusively under the MIT licence and there is a code of conduct in effect. There are a number of other smaller changes described in the History file.
This plugin moves the repetitive logic of adjusting mime-types from the controller into your project's mime-type declarations.
A minimal mime type library
ruby-filemagic and mime-types for carrierwave
Simple mime type detection using magic numbers, filenames, and extensions
It's original intention is as a helper class class for filtering email attachments before forwarding. The extracted attachments are saved in the /tmp directory.
shared-mime-info is a pure Ruby library for accessing the MIME info database provided by Freedesktop
Mime-Type gem with fallback to unix file command
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.