# @aceshooting/lyra-ide 中文文档

规范地址：https://npmcn.com/package/%40aceshooting/lyra-ide/

版本：30\.8\.0
npm 元数据更新时间：2026-11-04T16:44:29.589Z
中文译文更新时间：2026-11-06T15:36:27.101Z
软件包许可：MIT

本文由上游 README 翻译，可能存在偏差，请结合原文核对 API、命令与配置。版权与许可归原作者所有。

原始 npm 页面：https://www.npmjs.com/package/%40aceshooting/lyra-ide
原文对照：https://npmcn.com/package/%40aceshooting/lyra-ide/?lang=original
项目主页：https://www.lyra-ui.com/
源码仓库：https://github.com/aceshooting/lyra-ui

## 关键信息（来自 npm 元数据）

- 包体积（解压后）：10.7 MB，8 个文件
- 模块格式：ES Module
- TypeScript 类型：未声明
- Node.js 要求：\>=22
- 运行依赖：0 个
- peer 依赖：@aceshooting/lyra-ui ^30\.8\.0
- 首次发布：2026-10-09T13:35:37.448Z
- 最新版本发布：2026-11-04T16:44:29.236Z
- 近 30 天下载量：2880（2026-10-05 至 2026-11-03，npm 官方下载统计）
- 已发布版本数：25（近 12 个月 25 个）

## 中文简介

@aceshooting/lyra-ui:自定义元素说明,JetBrains网络类型和VS代码HTML/CSS自定义数据的编辑数据.

## 安装

```sh
npm install @aceshooting/lyra-ide
```

也可以使用：`pnpm add @aceshooting/lyra-ide`、`yarn add @aceshooting/lyra-ide`、`bun add @aceshooting/lyra-ide`

## README

# @ la- ide

[![Coverage](https://img.shields.io/endpoint?url=https://aceshooting.github.io/lyra-ui/badges/coverage-lyra-ide.json)](https://codecov.io/gh/aceshooting/lyra-ui)

[![npm](https://img.shields.io/npm/v/%40aceshooting%2Flyra-ide)](https://www.npmjs.com/package/@aceshooting/lyra-ide) [![Node.js](https://img.shields.io/node/v/%40aceshooting%2Flyra-ide)](https://www.npmjs.com/package/@aceshooting/lyra-ide)

生成编辑器数据 [`@aceshooting/lyra-ui`](https://github.com/aceshooting/lyra-ui/tree/main/packages/lyra-ui)数字 : hTML、Vue、Angular和CSS的标记、属性、属性、事件、槽和CSS自定义属性的完成.

| 文件 | 消费者 |
| --- | --- |
| `web-types.json` | WebStorm / IntelliJ: 安装软件包后自动找到 |
| `vscode-html-data.json` | VS 代码 `html.customData` |
| `vscode-css-data.json` | VS 代码 `css.customData` |
| `custom-elements.json` | 自定义元素演示工具( 故事本、 API 文件、 分析器) |

## 安装

```bash
pnpm add -D @aceshooting/lyra-ide
```

`@aceshooting/lyra-ui` 是一个同行。 两个软件包都是一起版;安装匹配版本.

## VS 代码

```json
{
  "html.customData": ["./node_modules/@aceshooting/lyra-ide/vscode-html-data.json"],
  "css.customData": ["./node_modules/@aceshooting/lyra-ide/vscode-css-data.json"]
}
```

## 声明

```ts
import manifest from '@aceshooting/lyra-ide/custom-elements.json' with { type: 'json' };
```

从 lyra-ui 26 或更早的升级:见 [升级表格](https://github.com/aceshooting/lyra-ui/blob/main/packages/lyra-ui/README.md#upgrading)。 。 。 .

麻省理工学院有执照.

## 常见问题

### @aceshooting/lyra-ide 是什么？

@aceshooting/lyra-ui:自定义元素说明,JetBrains网络类型和VS代码HTML/CSS自定义数据的编辑数据\.

### 如何安装 @aceshooting/lyra-ide？

在项目目录运行 npm install @aceshooting/lyra-ide，或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖：@aceshooting/lyra-ui（^30\.8\.0）。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖，Yarn 需要手动安装。

### @aceshooting/lyra-ide 支持 TypeScript 吗？

该包的 package\.json 没有声明类型入口。需要类型提示时，可以在 npm 上查找社区维护的 @types/aceshooting\_\_lyra-ide 是否存在。

### @aceshooting/lyra-ide 支持 ESM 还是 CommonJS？

以 ES Module 形式发布，推荐使用 import 引入。在 CommonJS 项目中，Node\.js 20\.19\+ / 22\.12\+ 可以直接 require\(\) 不含顶层 await 的 ES Module，更早的版本需要改用动态 import\(\)。

### @aceshooting/lyra-ide 需要什么版本的 Node\.js？

package\.json 的 engines 字段要求 Node\.js \>=22。版本不符时 npm 默认只给出警告，开启 engine-strict 后会拒绝安装。

### @aceshooting/lyra-ide 可以商用吗？

@aceshooting/lyra-ide 使用 MIT 许可。宽松许可：允许商业使用、修改和再分发，通常只需在分发时保留原版权与许可声明。以上为概括，不构成法律意见，请以许可原文为准。

### @aceshooting/lyra-ide 的下载量有多少？

根据 npm 官方下载统计，@aceshooting/lyra-ide 在 2026/10/05 – 2026/11/03 这 30 天内被下载 2,880 次，日均约 96 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入，适合横向比较热度，不能直接等同于使用人数。

### @aceshooting/lyra-ide 还在维护吗？

最新版本 30\.8\.0 发布于 2026/11/05（3 天前）；至今共发布 25 个版本，其中过去 12 个月发布了 25 个；首次发布于 2026/10/09。发布频率只是参考信号：功能稳定的工具可能很少需要更新，建议结合源码仓库的 issue 和提交记录判断。

