Socket for GitHub
Detect suspicious packages in PRs
Socket CLI
Use Socket from the command line
Socket Web Extension
Use Socket from your browser
Socket Dependency Search
Find any package for your project
Socket Optimize
Optimize your dependencies
Integrations
Docs
Want to read all the docs? Start here
Customers
Check out our customer stories
Blog
Keep up to date with all the news
Changelog
Latest updates and enhancements
FAQ
Answers to common questions
Package Alerts
Learn about all Socket alerts
Glossary
Open source and security terms
Customer Stories
About
Why we built Socket
Love
See why developers love Socket
Careers
Join our team
Investors
Learn about our investors
Security
Our security practices
Why Socket?
Achievements
Packages
Comaintainers
3 packages
Order
Sort by
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.