file-type-lint

JSON →
library 4.0.0 ·javascript maintenance
verified May 1, 2026

Lint file types based on content rather than extension. Works with images, audio, video, archives, and many other formats. The latest stable version is 4.0.0 (released May 2020), which uses file-type v14.3.0 internally and requires Node.js >= 10.13.0. Unlike simple extension checks, it reads the file's content to verify its actual type. Current release cadence is low, with no updates since 2020.

total hits 11
actors 4 distinct systems
last hit 4d ago AhrefsBot
MetaBot
3
GPTBot
2
Search engines
1
Humans
2

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇫🇷 France · PY