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
Build Securely on Azure with Proven Frameworks Icon
Build Securely on Azure with Proven Frameworks

Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Download Now
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