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
Go from Code to Production URL in Seconds Icon
Go from Code to Production URL in Seconds

Cloud Run deploys apps in any language instantly. Scales to zero. Pay only when code runs.

Skip the Kubernetes configs. Cloud Run handles HTTPS, scaling, and infrastructure automatically. Two million requests free per month.
Try it 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