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