npm · npm:file-type
file-type active
Detect the file type of a file, stream, or data
The latest stable version of file-type is 22.3.0, published on 2026-10-29. Verified by Vigia on 2026-11-12.
| Latest stable version | 22.3.0 |
|---|---|
| Published | 2026-10-29 11:19:14 UTC |
| Install | npm install file-type@latest |
| Requires (engines) | {"node":">=22"} |
| Peer dependencies | — |
| Dist-tags | latest: 22.3.0 version-16: 16.5.4 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 12:12:24 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Is your project affected?
Check my whole package.jsonGet notified of new versions (Atom)Facts for my AGENTS.md
Free, no signup. Paste your manifest and see what is outdated, deprecated or vulnerable.
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-10-29 11:19:14 UTC · 14 days ago |
| Stable releases in the last 12 months | 14 |
| Published versions | 174 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
22.3.0 | 2026-10-29 11:19:14 UTC |
22.2.0 | 2026-10-14 16:45:03 UTC |
22.1.1 | 2026-09-17 05:27:34 UTC |
22.1.0 | 2026-09-11 10:28:53 UTC |
22.0.2 | 2026-08-15 01:47:48 UTC |
22.0.1 | 2026-04-09 15:24:14 UTC |
22.0.0 | 2026-03-26 17:34:04 UTC |
21.3.4 | 2026-03-22 14:29:40 UTC |
21.3.3 | 2026-03-16 18:28:40 UTC |
21.3.2 | 2026-03-13 07:42:33 UTC |
21.3.1 | 2026-03-09 08:22:21 UTC |
21.3.0 | 2026-01-04 00:56:55 UTC |
21.2.0 | 2025-12-25 17:52:37 UTC |
21.1.1 | 2025-11-19 17:22:38 UTC |
21.1.0 | 2025-11-10 08:15:38 UTC |
21.0.0 | 2025-05-23 11:52:21 UTC |
20.5.0 | 2025-04-26 20:09:56 UTC |
20.4.1 | 2025-03-13 07:32:49 UTC |
20.4.0 | 2025-02-26 19:00:22 UTC |
20.3.0 | 2025-02-25 06:55:43 UTC |
Showing the 20 most recent of 174 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
node 16 | 18.7.0 |
node 18 | 20.5.0 |
node 20 | 21.3.4 |
node 22 | 22.3.0 |
node 24 | 22.3.0 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of file-type?
The latest stable version of file-type is 22.3.0, published on 2026-10-29. Verified by Vigia on 2026-11-12.
How do I install the latest version of file-type?
Run npm install file-type@latest. The latest stable version is 22.3.0 (verified 2026-11-12).
Is file-type deprecated?
No. file-type is not marked as deprecated in the registry.
Which Node.js version does file-type require?
file-type 22.3.0 declares this requirement: {"node":">=22"}.
Does file-type 22.3.0 have known vulnerabilities?
No known advisories affect file-type 22.3.0 according to the data Vigia checks.
Is file-type still maintained?
file-type published 14 stable releases in the last 12 months; the most recent was 14 days ago. Activity: active.
Observed changes
- hu Oct 29 2026 11:47:52 GMT+0000 (Coordinated Universal Time) — released 22.2.0 → 22.3.0
- hu Oct 15 2026 10:52:05 GMT+0000 (Coordinated Universal Time) — released 22.2.0 → 22.2.0
- Wed Oct 14 2026 16:50:39 GM +0000 (Coordinated Universal Time) — released 22.1.1 → 22.2.0
Related packages
- @tanstack/query-core
- watchpack
- @radix-ui/react-separator
- unist-util-visit-parents
- terser-webpack-plugin
- synckit
- @types/deep-eql
- babel-preset-jest
- @testing-library/jest-dom
- @smithy/middleware-retry
- @smithy/util-hex-encoding
- is-buffer
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/file-type) [](https://vigia.coredls.cloud/npm/file-type) [](https://vigia.coredls.cloud/npm/file-type)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/file-type
GET https://vigia.coredls.cloud/v1/packages/npm/file-type/versions/{version}