file-type
v21.0.0
Detect the file type of a file, stream, or data
Install
npm
install
file-type
Bundle size
Dependencies
Downloads
Dependencies
Dependencies
(4)
@tokenizer/inflate
^0.2.7
strtok3
^10.2.2
token-types
^6.0.0
uint8array-extras
^1.4.0
Peer Dependencies
(0)
Dev Dependencies
(8)
@tokenizer/token
^0.3.0
@types/node
^22.15.21
ava
^6.3.0
commonmark
^0.31.2
get-stream
^9.0.1
noop-stream
^1.0.0
tsd
^0.32.0
xo
^0.60.0