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

Project Samples

Project Activity

See All Activity >

Categories

File Managers

License

MIT License

Follow File-Type

File-Type Web Site

Other Useful Business Software
Ship Agents Faster Icon
Ship Agents Faster

Transform your applications and workflows into powerful agentic systems at global scale.

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.
Get Started Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of File-Type!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

JavaScript

Related Categories

JavaScript File Managers

Registered

2025-02-04