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