Search npm for packages to use with Deno
Add them to your projects with a simple command that will already feel familar.
magic-bytes.js
Detect Filetype by bytes
mmmagic
An async libmagic binding for node.js for detecting content types by data inspection
@picturae/mmmagic
An async libmagic binding for node.js for detecting content types by data inspection
wasmagic
WASM compiled version of libmagic
mimetics
Identifies file types based on magic bytes, patterns, and other unique file attributes.
buffer-type
Detect content-type from Buffer data.
stream-mmmagic
sniff the start of a stream (non-destructively) to detect the file type and encoding
type-teller
Detect the file type of a Buffer/Uint8Array/ArrayBuffer
is-docx
Detect docx file type from buffer
stream-signature
Detect file type from 'Magic' Bytes
file-isignature
File extractor to get real extension of file given by checking through the file's signature
mmmagic2
An async libmagic binding for node.js for detecting content types by data inspection
@komagata/filetype
Detect filetype from some byte string.
@otoniel19/filetype.js
filetype.js get the type of file by extension name using node.js
mmmagic-patched
An async libmagic binding for node.js for detecting content types by data inspection
@lobehub/assets-fileicon
FileTypeIcon for LobeHub
bt
Detect content-type from Buffer data.
is-geojson
sniff whether an object is geojson
isignature
File extractor to get real extension of file given by checking through the file's signature
stream-mmmagic-patched
sniff the start of a stream (non-destructively) to detect the file type and encoding