1.sindresorhus / file-typeDetect the file type of a file, stream, or datanodejsjavascriptuint8arraybuffermagic-numbersfile+3 moreJavaScriptMIT4.3K total398 forks+34 starsfrom 4,306 · score 3.56