mmmagic

An async libmagic binding for node.js for detecting content types by data inspection

@npcz/magic

Emscripten port of libmagic (https://darwinsys.com/file/) with javascript interface

@picturae/mmmagic

An async libmagic binding for node.js for detecting content types by data inspection

mime-magic

Proper MIME type detection library that wraps the libmagic functionality