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
Add Two Lines of Code. Get Full APM. Icon
Add Two Lines of Code. Get Full APM.

AppSignal installs in minutes and auto-configures dashboards, alerts, and error tracking.

Works out of the box for Rails, Django, Express, Phoenix, and more. Monitoring exceptions and performance in no time.
Start 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