Registry / utility / marcel

marcel

JSON →
library1.2.1rbrubygemsunverified

Simple MIME type detection using magic numbers, filenames, and extensions.

gem install marcel
INSTALL
IMPORT
SIG · MARCEL
M
marcel
utilityrubyv1.2.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Marcel
require 'marcel'

Detects the MIME type of a file.

require 'marcel' file = File.open('image.png') mime_type = Marcel::MimeType.for(file) puts mime_type
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
marcel — gem install marcel · libregistry