Extra Credit

file-type

Detect the file type of a file, stream, or data

$npm install file-type

Official docs outline

Extra Credit builds an outline of file-type's docs the first time your work uses it. Until then, start at the official documentation.

All 9,484