# @easyeyes\_threshold/runtime 中文文档

规范地址：https://npmcn.com/package/%40easyeyes_threshold/runtime/

版本：1\.20261112\.81085
npm 元数据更新时间：2026-11-12T22:34:40.691Z
中文译文更新时间：2026-11-13T04:00:38.000Z
软件包许可：SEE LICENSE IN LICENSE

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

原始 npm 页面：https://www.npmjs.com/package/%40easyeyes_threshold/runtime
原文对照：https://npmcn.com/package/%40easyeyes_threshold/runtime/?lang=original
项目主页：https://easyeyes.app/
源码仓库：https://github.com/EasyEyes/threshold

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

- 包体积（解压后）：19.3 MB，32 个文件
- TypeScript 类型：未声明
- 运行依赖：0 个
- 首次发布：2026-09-09T23:24:50.740Z
- 最新版本发布：2026-11-12T22:34:40.453Z
- 近 30 天下载量：4496（2026-10-13 至 2026-11-11，npm 官方下载统计）
- 已发布版本数：62（近 12 个月 62 个）

## 中文简介

EasyEyes实验运行时间 已部署 每个版本都是一个精确的运行时间构建; Studio编译的实验从https://cdn.jsdelivr.net/npm/@easyeyes threshold/runtime@1.20261112.81085/上载

## 安装

```sh
npm install @easyeyes_threshold/runtime
```

也可以使用：`pnpm add @easyeyes_threshold/runtime`、`yarn add @easyeyes_threshold/runtime`、`bun add @easyeyes_threshold/runtime`

## README

# EasyEys 阈值

📖 [**手动**](https://docs.google.com/document/d/e/2PACX-1vTTrqaSyva2afVupLchBjfTHc_YW5jAbEexGbudXMJ9xMKPBDA3nxQmHXa4wjnAoSVabeEA8T9CGIMa/pub)  
📝 [**参数词汇表**](https://docs.google.com/spreadsheets/d/e/2PACX-1vQ8QswX_5h_oNS2Ly6VgoONGIxJHqDFjdZqWY_HUxH2Nr_LNkGDBL8FXz74l9BxVNR2AIXGhHir9GAd/pub?gid=1287694458&single=true&output=pdf)  
🌏 [**网络应用**](https://easyeyes.app/experiment/) (贝塔)

用于测量各种心理测量阈值的基于PsychoJS的实验生成器,如挤压. 请访问 [https://easyeyes.app/实验](https://easyeyes.app/experiment/) 给更多的指示.

## 发展

要复制此 repo, 请使用

```shell
git clone --recurse-submodules https://github.com/EasyEyes/threshold.git
```

然后,运行以下 为初始设置

```shell
npm install
npm run build
```

根据具体的实验表开发,使用

```shell
npm run examples [tableName].[xlsx] # you may also run `npm run examples` to prepare for all tables in your examples/tables folder
npm start # interactive selection of built examples
npm start -- --name=[tableName] # start hot-reload development for specific example
```

你需要重新运行 `npm run examples [your table name]` 每次编辑 HTML 或表格文件.

## PhychoJS 版本

我们用心理JS建立EasyEyes门槛 `2022.1.3`。 。 。 .

## 维特构建系统(实验)

我们添加了Vite作为Webpack的实验替代品,用于更快的建设. 现有的Webpack设置仍然充分运作.

### 新建脚本

-   `npm run vite-start` - 启动 Vite 开发服务器
-   `npm run vite-build` - 与Vite一起建设
-   `npm run vite-preview` - 预览Vite生产大楼
-   `npm run compare-builds` - 比较Webpack vs Vite 构建性能(需要 Rust)

### 业绩比较

比较Webpack和Vite之间的构建性能:

```bash
npm run compare-builds
```

这个基于 Rust 的工具运行每个构建三次,并提供详细的统计数据包括:

-   平均建设时间
-   标准偏差
-   统计意义
-   百分比提高

### 页:1

-   Vite 配置为 `vite.config.js`
-   将系统输出建为同一系统 `js/` 目录
-   Rust 比较工具需要安装 Rust
-   现有的 Webpack 脚本(`npm start`, (中文(简体) ), `npm run build`)保持不变

## 常见问题

### @easyeyes\_threshold/runtime 是什么？

EasyEyes实验运行时间 已部署 每个版本都是一个精确的运行时间构建; Studio编译的实验从https://cdn\.jsdelivr\.net/npm/@easyeyes threshold/runtime@1\.20261112\.81085/上载

### 如何安装 @easyeyes\_threshold/runtime？

在项目目录运行 npm install @easyeyes\_threshold/runtime，或使用 pnpm add / yarn add / bun add。

### @easyeyes\_threshold/runtime 支持 TypeScript 吗？

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

### @easyeyes\_threshold/runtime 可以商用吗？

@easyeyes\_threshold/runtime 使用 SEE LICENSE IN LICENSE 许可。许可条款写在包内的独立文件中，请阅读该文件确认可否商用。以上为概括，不构成法律意见，请以许可原文为准。

### @easyeyes\_threshold/runtime 的下载量有多少？

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

### @easyeyes\_threshold/runtime 还在维护吗？

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

