🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket
y

yiiran

npm

Packages

Current Co-maintainers

Former Co-maintainers

3 packages

react-office-viewer

A React component to preview document of 'pdf,xls,xlsx,docx', which can automatically identify file types.

react-office-viewermm

A React component to preview a PDF document, basic toolbar functions are supported.

@yiiran/get-file-type

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.