sindresorhus/file-type
The issue has been closed
One doubt, the file types .txt, .csv are returned as undefined. Can we consider as which all files like csv txt which are having plain text no magic number or header to find MIME type for those the result would be undefined? #397
shah20 posted onGitHub