New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started
y

yiiran

npm

579

total weekly downloads

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.