这是 @ types/json5 () 的 stub 类型定义 http://json5.org/ (中文(简体) )) (中文(简体) ).
json5提供了自己的类型定义,所以你不需要安装@types/json5!
用于 json5 的 Stub TypeScript 定义条目, 它提供了自己的类型定义
This is a stub types definition. json5 provides its own type definitions, so you do not need this installed.
这是 @ types/json5 () 的 stub 类型定义 http://json5.org/ (中文(简体) )) (中文(简体) ).
json5提供了自己的类型定义,所以你不需要安装@types/json5!
@types/json5 共发布 13 个版本,首次发布于 2016/05/17;过去 12 个月发布了 0 个版本。
| 版本 | 发布日期 | 距今 |
|---|---|---|
2.2.0latest | 2021/02/02 | 5 年前 |
0.0.30ts2.0ts2.1ts2.2ts2.3ts2.4ts2.5 | 2018/08/22 | 8 年前 |
0.0.29 | 2016/09/20 | 10 年前 |
0.0.28 | 2016/07/14 | 10 年前 |
0.0.27-alpha | 2016/07/09 | 10 年前 |
0.0.26-alpha | 2016/07/04 | 10 年前 |
用于 json5 的 Stub TypeScript 定义条目, 它提供了自己的类型定义注意:该包已被作者标记为弃用——This is a stub types definition. json5 provides its own type definitions, so you do not need this installed.
在项目目录运行 npm install @types/json5,或使用 pnpm add / yarn add / bun add。
@types/json5 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。
根据 npm 官方下载统计,@types/json5 在 2026/10/05 – 2026/11/03 这 30 天内被下载 241,772,165 次,日均约 8,059,072 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。
最新版本 2.2.0 发布于 2021/02/02(5 年前);至今共发布 13 个版本,其中过去 12 个月发布了 0 个;首次发布于 2016/05/17。作者已将其标记为弃用,新项目建议寻找替代方案。