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
Ship Agents Faster
Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of File-Type!