File-Type is a Node.js library that detects the file type of a Buffer or Uint8Array by examining its binary signature, supporting a wide range of file formats.
Features
- Detects file types from buffers
- Supports over 100 file types
- Provides asynchronous and synchronous APIs
- Lightweight and dependency-free
- Regularly updated with new file type support
- Useful for validating and processing user uploads
Categories
File ManagersLicense
MIT LicenseFollow File-Type
Other Useful Business Software
Try Google Cloud Risk-Free With $300 in Credit
Use your credit across every product. Compute, storage, AI, analytics. When it runs out, 20+ products stay free. You only pay when you choose to.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of File-Type!