file-type
Detect the file type of a file, stream, or data
file-type-checker
Detect and validate file types by their signatures (✨magic numbers✨)
memfs
In-memory file-system with Node's fs API.
locate-path
Get the first path that exists on disk of multiple paths