Vigia

npm · npm:file-type

file-type 活跃

Detect the file type of a file, stream, or data

file-type 的最新稳定版本是 22.3.0,发布于 2026-10-29。Vigia 于 2026-11-12 核实。

最新稳定版本22.3.0
发布时间2026-10-29 11:19:14 UTC
安装npm install file-type@latest
运行要求(engines){"node":">=22"}
Peer 依赖—
Dist 标签latest: 22.3.0 version-16: 16.5.4
许可证MIT
最新版本的安全公告暂无已知
最近核实2026-11-12 12:12:24 UTC
来源api.deps.dev, registry.npmjs.org, registry.npmjs.org

维护情况

活跃度活跃
最近的稳定版本2026-10-29 11:19:14 UTC · 14 天前
过去 12 个月的稳定版本数14
已发布版本数174

仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。

版本历史

版本发布时间
22.3.02026-10-29 11:19:14 UTC
22.2.02026-10-14 16:45:03 UTC
22.1.12026-09-17 05:27:34 UTC
22.1.02026-09-11 10:28:53 UTC
22.0.22026-08-15 01:47:48 UTC
22.0.12026-04-09 15:24:14 UTC
22.0.02026-03-26 17:34:04 UTC
21.3.42026-03-22 14:29:40 UTC
21.3.32026-03-16 18:28:40 UTC
21.3.22026-03-13 07:42:33 UTC
21.3.12026-03-09 08:22:21 UTC
21.3.02026-01-04 00:56:55 UTC
21.2.02025-12-25 17:52:37 UTC
21.1.12025-11-19 17:22:38 UTC
21.1.02025-11-10 08:15:38 UTC
21.0.02025-05-23 11:52:21 UTC
20.5.02025-04-26 20:09:56 UTC
20.4.12025-03-13 07:32:49 UTC
20.4.02025-02-26 19:00:22 UTC
20.3.02025-02-25 06:55:43 UTC

显示 174 个版本中最新的 20 个。 JSON

版本兼容性

声明支持各运行时版本的最新稳定版本(依据每个版本发布的要求)。

运行时最新兼容版本
node 1618.7.0
node 1820.5.0
node 2021.3.4
node 2222.3.0
node 2422.3.0

把这些数据交给你的 AI 智能体

Vigia 是免费的 MCP 服务器:你的编程智能体在写代码之前就能检查版本、不兼容变更和安全漏洞。无需注册,无需 API 密钥。

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

添加到 Cursor添加到 VS Code★ 在 GitHub 上加星

任何其他 MCP 客户端
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

智能体技能(SKILL.md):告诉智能体何时使用 Vigia · 用于拉取请求的 GitHub Action

常见问题

file-type 的最新版本是什么?

file-type 的最新稳定版本是 22.3.0,发布于 2026-10-29。Vigia 于 2026-11-12 核实。

如何安装 file-type 的最新版本?

运行 npm install file-type@latest。最新稳定版本是 22.3.0(2026-11-12 核实)。

file-type 是否已弃用?

否。注册表中 file-type 未被标记为已弃用。

file-type 需要哪个版本的 Node.js?

file-type 22.3.0 声明的要求为:{"node":">=22"}。

file-type 22.3.0 是否存在已知漏洞?

根据 Vigia 检查的数据,没有已知安全公告影响 file-type 22.3.0。

file-type 是否仍在维护?

file-type 在过去 12 个月内发布了 14 个稳定版本,最近一次在 14 天前。活跃度:活跃。

观察到的变更

相关软件包

用于 README 的徽章

展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:

[![version](https://vigia.coredls.cloud/badge/npm/file-type/version.svg)](https://vigia.coredls.cloud/npm/file-type)
[![maintained](https://vigia.coredls.cloud/badge/npm/file-type/maintained.svg)](https://vigia.coredls.cloud/npm/file-type)
[![status](https://vigia.coredls.cloud/badge/npm/file-type/status.svg)](https://vigia.coredls.cloud/npm/file-type)

供智能体使用

GET https://vigia.coredls.cloud/v1/packages/npm/file-type
GET https://vigia.coredls.cloud/v1/packages/npm/file-type/versions/{version}