@yiiran/get-file-type (npm): Determine the file type of 'pdf,xls,xlsx,doc,docx,ppt,pptx' according to the file arraybuffer. File suffix or file name is not required. Further more, it can avoid wrong judgment by the falsy changes of file suffix.
Keywords: fileType|arraybuffer|pdf|xls|xlsx|doc|docx|ppt|pptx