LuaJIT FFI bindings to libmagic, magic number recognition library - tries to determine file types.
1
Version 1.0-1 of lua-resty-fileinfo was uploaded 10 years ago. For lua >= 5.1