Search results
572 packages found
A comprehensive library for mime-type mapping
Detect the file type of a Buffer/Uint8Array/ArrayBuffer
The ultimate javascript content-type utility.
A tiny (2.8kB) and fast utility for getting a MIME type from an extension or filename
Detect Filetype by bytes
Detect Filetype by bytes
Emscripten port of libmagic (https://darwinsys.com/file/) with javascript interface
Encode and decode quoted-printable strings according to rfc2045
Predicate that returns true if base64 string.
Media Type Database
An async libmagic binding for node.js for detecting content types by data inspection
Luke's encoding library contains many stream implementations for specific types of encoding, most libraries these days only have one type of encoding, or don't use streams so I decided to create one myself because I need it for some of my projects.
A simple function to check whether a mimetype matches the specified mimetype (with wildcard support)
A library to determine the file type, MIME type, and media type of a given file.
- mimetics
- magic numbers
- file type
- mime type
- media type
- binary file type detection
- text content analysis
- file-type
- magicbytes
- file extension
- mimetype
- file identification
- file format
- binary data
- View more
Encode and decode rfc2047 (MIME encoded words)
Database to mime-format based on content-type header and content
sniff the start of a stream (non-destructively) to detect the file type and encoding
The ultimate javascript content-type utility.