@easyeyes_threshold/runtime

中文文档
1.20261112.81085发布于 2026/11/13SEE LICENSE IN LICENSE零依赖近 30 天下载 4496

The EasyEyes experiment runtime, as deployed. Each version is one exact runtime build; Studio-compiled experiments load it from https://cdn.jsdelivr.net/npm/@easyeyes_threshold/[email protected]/

原始使用文档
文档目录6 节
  1. Development
  2. PsychoJS Version
  3. Vite Build System (Experimental)
  4. New Scripts
  5. Performance Comparison
  6. Notes

EasyEyes Threshold

📖 Manual
📝 Parameter Glossary
🌏 Webapp (beta)

A PsychoJS-based experiment generator for the measuring various psychometric thresholds, e.g., crowding. Please visit https://easyeyes.app/experiment for more instructions.

Development

To clone this repo, use

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

Then, run the following for the initial setup

npm install
npm run build

To develop based on a specific experiment table, use

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

You need to rerun npm run examples [your table name] every time you edit the HTML or table files.

PsychoJS Version

We build EasyEyes Threshold with PsychoJS 2022.1.3.

Vite Build System (Experimental)

We've added Vite as an experimental alternative to Webpack for faster builds. The existing Webpack setup remains fully functional.

New Scripts

  • npm run vite-start - Start Vite development server
  • npm run vite-build - Build with Vite
  • npm run vite-preview - Preview Vite production build
  • npm run compare-builds - Compare Webpack vs Vite build performance (requires Rust)

Performance Comparison

To compare build performance between Webpack and Vite:

npm run compare-builds

This Rust-based tool runs each build 3 times and provides detailed statistics including:

  • Average build times
  • Standard deviation
  • Statistical significance
  • Percentage improvement

Notes

  • Vite configuration is in vite.config.js
  • Both build systems output to the same js/ directory
  • The Rust comparison tool requires Rust to be installed
  • Existing Webpack scripts (npm start, npm run build) remain unchanged

版本与发布记录

@easyeyes_threshold/runtime 共发布 62 个版本,首次发布于 2026/09/10;过去 12 个月发布了 62 个版本。

版本发布日期距今
1.20261112.81085latest2026/11/13今天
1.20261111.677012026/11/121 天前
1.20261111.590272026/11/121 天前
1.20261111.577252026/11/121 天前
1.20261109.828752026/11/103 天前
1.20261107.739042026/11/085 天前

其他发布通道:fp-dfaaeb4f28ca269c → 1.20260909.84286,fp-c3d5617670f90fc8 → 1.20260910.22959,fp-d81c0709266c899a → 1.20260911.73478,fp-08f6c18662702850 → 1.20260915.36959,fp-e30710efe981a913 → 1.20260915.79596,fp-901c2799af675eb1 → 1.20260915.82119。

关于 @easyeyes_threshold/runtime 的常见问题

@easyeyes_threshold/runtime 是什么?

The EasyEyes experiment runtime, as deployed. Each version is one exact runtime build; Studio-compiled experiments load it from https://cdn.jsdelivr.net/npm/@easyeyes_threshold/[email protected]/

如何安装 @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 和提交记录判断。