# @cspell/dict-cspell-bundle 中文文档

规范地址：https://npmcn.com/package/%40cspell/dict-cspell-bundle/

版本：2\.0\.84
npm 元数据更新时间：2026-11-05T13:24:51.032Z
中文译文更新时间：2026-11-11T03:12:34.535Z
软件包许可：MIT

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

原始 npm 页面：https://www.npmjs.com/package/%40cspell/dict-cspell-bundle
原文对照：https://npmcn.com/package/%40cspell/dict-cspell-bundle/?lang=original
项目主页：https://github.com/streetsidesoftware/cspell-dicts/blob/main/dictionaries/cspell#readme
源码仓库：https://github.com/streetsidesoftware/cspell-dicts

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

- 包体积（解压后）：15.1 kB，4 个文件
- TypeScript 类型：未声明
- 运行依赖：55 个
- 首次发布：2024-10-20T13:01:20.417Z
- 最新版本发布：2026-11-05T13:24:50.680Z
- 近 30 天下载量：49898（2026-10-11 至 2026-11-09，npm 官方下载统计）
- 已发布版本数：131（近 12 个月 45 个）

## 中文简介

包含有 CSpell 命令行工具的词典.

## 安装

```sh
npm install @cspell/dict-cspell-bundle
```

也可以使用：`pnpm add @cspell/dict-cspell-bundle`、`yarn add @cspell/dict-cspell-bundle`、`bun add @cspell/dict-cspell-bundle`

## README

# CSpell 词典套装

包含有 CSpell 命令行工具的词典.

这是预建的与 CSpell 一同使用的词典 .

## 所需资源

| 工具 | 版本 |
| --- | --- |
| [点球](https://github.com/streetsidesoftware/cspell) | `>=8` |
| [代码拼写检查器 - 视觉工作室代码](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker) | `>=4` |

## 本地安装

```sh
npm install -D @cspell/dict-cspell-bundle
```

## 配置

VSCode 设置

在您的 VSCode 设置中添加以下内容:

**`.vscode/settings.json`**

```jsonc
{
  "cSpell.import": ["@cspell/dict-cspell-bundle/cspell-ext.json"],
  "cSpell.dictionaries": [],
}
```
CSpell 设置 `cspell.json`

**`cspell.json`**

```jsonc
{
  "import": ["@cspell/dict-cspell-bundle/cspell-ext.json"],
  "dictionaries": [],
}
```
CSpell 设置 `cspell.config.yaml`

**`cspell.config.yaml`**

```yaml
import:
  - '@cspell/dict-cspell-bundle/cspell-ext.json'
dictionaries: []
```

## 使用 CDN 本地安装

## CDN 配置

VSCode 设置

在您的 VSCode 设置中添加以下内容:

**`.vscode/settings.json`**

```jsonc
{
  "cSpell.import": ["https://cdn.jsdelivr.net/npm/@cspell/dict-cspell-bundle@2/cspell-ext.json"],
  "cSpell.dictionaries": [],
}
```
CSpell 设置 `cspell.json`

**`cspell.json`**

```jsonc
{
  "import": ["https://cdn.jsdelivr.net/npm/@cspell/dict-cspell-bundle@2/cspell-ext.json"],
  "dictionaries": [],
}
```
CSpell 设置 `cspell.config.yaml`

**`cspell.config.yaml`**

```yaml
import:
  - https://cdn.jsdelivr.net/npm/@cspell/dict-cspell-bundle@2/cspell-ext.json
dictionaries: []
```

## 词典信息

| 名称 | 已启用 | 说明 |
| --- | --- | --- |
| `typescript` |  | _外部_ |
| `node` |  | _外部_ |
| `npm` |  | _外部_ |
| `html` |  | _外部_ |
| `html-symbol-entities` |  | _外部_ |
| `css` |  | _外部_ |
| `fonts` |  | _外部_ |
| `php` |  | _外部_ |

## 语言设置

| 名称 | 语言 | 文件类型 |
| --- | --- | --- |
| `typescript` |  | `javascript`, (中文(简体) ), `javascriptreact` |
| `typescript` |  | `typescript`, (中文(简体) ), `typescriptreact`, (中文(简体) ), `mdx` |
| `typescript` |  | `html`, (中文(简体) ), `pug`, (中文(简体) ), `jade`, (中文(简体) ), `php`, (中文(简体) ), `handlebars` |
| `node` |  | `javascript`, (中文(简体) ), `javascriptreact` |
| `node` |  | `typescript`, (中文(简体) ), `typescriptreact`, (中文(简体) ), `mdx` |
| `node` |  | `json`, (中文(简体) ), `jsonc` |
| `npm` |  | `javascript`, (中文(简体) ), `javascriptreact` |
| `npm` |  | `typescript`, (中文(简体) ), `typescriptreact`, (中文(简体) ), `mdx` |
| `npm` |  | `markdown`, (中文(简体) ), `asciidoc` |
| `npm` |  | `html`, (中文(简体) ), `pug`, (中文(简体) ), `jade`, (中文(简体) ), `php`, (中文(简体) ), `handlebars` |
| `npm` |  | `json`, (中文(简体) ), `jsonc` |
| `html` |  | `javascriptreact`, (中文(简体) ), `typescriptreact`, (中文(简体) ), `mdx` |
| `html` |  | `markdown`, (中文(简体) ), `asciidoc` |
| `html` |  | `html`, (中文(简体) ), `pug`, (中文(简体) ), `jade`, (中文(简体) ), `php`, (中文(简体) ), `handlebars` |
| `html-symbol-entities` |  | `javascriptreact`, (中文(简体) ), `typescriptreact`, (中文(简体) ), `mdx` |
| `html-symbol-entities` |  | `markdown`, (中文(简体) ), `asciidoc` |
| `html-symbol-entities` |  | `html`, (中文(简体) ), `pug`, (中文(简体) ), `jade`, (中文(简体) ), `php`, (中文(简体) ), `handlebars` |
| `css` |  | `javascriptreact`, (中文(简体) ), `typescriptreact`, (中文(简体) ), `mdx` |
| `css` |  | `html`, (中文(简体) ), `pug`, (中文(简体) ), `jade`, (中文(简体) ), `php`, (中文(简体) ), `handlebars` |
| `css` |  | `css`, (中文(简体) ), `less`, (中文(简体) ), `scss` |
| `fonts` |  | `javascriptreact`, (中文(简体) ), `typescriptreact`, (中文(简体) ), `mdx` |
| `fonts` |  | `html`, (中文(简体) ), `pug`, (中文(简体) ), `jade`, (中文(简体) ), `php`, (中文(简体) ), `handlebars` |
| `fonts` |  | `css`, (中文(简体) ), `less`, (中文(简体) ), `scss` |
| `php` |  | `php` |

## 捐款

请帮助纠正字典中的错误 .

见: [捐款](https://github.com/streetsidesoftware/cspell-dicts#contributing)

特别感谢我们所有出色的贡献者!

### 词典发展

见: [如何创建新词典](https://github.com/streetsidesoftware/cspell-dicts#how-to-create-a-new-dictionary)

## 许可证

麻省理工学院

> 有些包裹可能还有其他许可证.

  

* * *

带给你的 [![Street Side Software Logo](https://i.imgur.com/CyduuVY.png) 街边软件](https://streetsidesoftware.com/ "Street Side Software")

## 常见问题

### @cspell/dict-cspell-bundle 是什么？

包含有 CSpell 命令行工具的词典\.

### 如何安装 @cspell/dict-cspell-bundle？

在项目目录运行 npm install @cspell/dict-cspell-bundle，或使用 pnpm add / yarn add / bun add。

### @cspell/dict-cspell-bundle 支持 TypeScript 吗？

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

### @cspell/dict-cspell-bundle 可以商用吗？

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

### @cspell/dict-cspell-bundle 的下载量有多少？

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

### @cspell/dict-cspell-bundle 还在维护吗？

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

