# @eslint-types/unicorn 中文文档

规范地址：https://npmcn.com/package/%40eslint-types/unicorn/

版本：52\.0\.0
npm 元数据更新时间：2025-03-07T22:58:01.112Z
中文译文更新时间：2026-11-13T22:25:18.644Z
软件包许可：MIT

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

原始 npm 页面：https://www.npmjs.com/package/%40eslint-types/unicorn
原文对照：https://npmcn.com/package/%40eslint-types/unicorn/?lang=original
项目主页：https://github.com/eslint-types/define-config-plugin-types/tree/main/types/unicorn
源码仓库：https://github.com/eslint-types/define-config-plugin-types

弃用说明：Package no longer supported\. Contact Support at https://www\.npmjs\.com/support for more info\.

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

- 包体积（解压后）：61.2 kB，135 个文件
- TypeScript 类型：包内自带
- 运行依赖：0 个
- 首次发布：2023-10-26T19:42:56.904Z
- 最新版本发布：2024-04-04T06:41:18.073Z
- 近 30 天下载量：22409（2026-10-14 至 2026-11-12，npm 官方下载统计）
- 已发布版本数：5（近 12 个月 0 个）

## 中文简介

Eslint-define-config 的脚本类型定义

## 安装

```sh
npm install @eslint-types/unicorn
```

也可以使用：`pnpm add @eslint-types/unicorn`、`yarn add @eslint-types/unicorn`、`bun add @eslint-types/unicorn`

## README

 [![NPM package](https://img.shields.io/npm/v/@eslint-types/unicorn.svg)](https://www.npmjs.com/package/@eslint-types/unicorn)[![Downloads](https://img.shields.io/npm/dt/@eslint-types/unicorn.svg) ](https://www.npmjs.com/package/@eslint-types/unicorn)[![License: MIT](https://img.shields.io/github/license/eslint-types/define-config-plugin-types.svg) ](https://github.com/eslint-types/define-config-plugin-types/blob/main/LICENSE)[![Donate: PayPal](https://img.shields.io/badge/Donate-PayPal-blue.svg)](https://www.paypal.com/donate?hosted_button_id=L7GY729FBKTZY)

# @slint-types/独角兽

## 安装

```sh
npm install -D @eslint-types/unicorn
```

## 使用量

```js
// @ts-check
const { defineConfig } = require('eslint-define-config');

/// <reference types="@eslint-types/unicorn" />

module.exports = defineConfig({
  // ...
});
```

## 常见问题

### @eslint-types/unicorn 是什么？

Eslint-define-config 的脚本类型定义注意：该包已被作者标记为弃用——Package no longer supported\. Contact Support at https://www\.npmjs\.com/support for more info\.

### 如何安装 @eslint-types/unicorn？

在项目目录运行 npm install @eslint-types/unicorn，或使用 pnpm add / yarn add / bun add。

### @eslint-types/unicorn 支持 TypeScript 吗？

支持。包内自带 TypeScript 类型声明（package\.json 声明了 types 入口），安装后即可获得类型提示，无需再安装 @types 包。

### @eslint-types/unicorn 可以商用吗？

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

### @eslint-types/unicorn 的下载量有多少？

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

### @eslint-types/unicorn 还在维护吗？

最新版本 52\.0\.0 发布于 2024/04/04（2 年前）；至今共发布 5 个版本，其中过去 12 个月发布了 0 个；首次发布于 2023/10/27。作者已将其标记为弃用，新项目建议寻找替代方案。

