MIT License

项目介绍

jspsych/jsPsych 是一个托管在 GitHub 上的开源项目,主要使用 TypeScript 编写,采用 MIT License 许可证,目前获得 1.2k 个 Star、617 次 Fork。

仓库全名
jspsych/jsPsych
开源许可证
MIT License
Star 数
1.2k
Fork 数
617
未关闭 Issue
166

README 摘要

jsPsych is a JavaScript framework for creating behavioral experiments that run in a web browser. Experiments in jsPsych are created using plugins. Each plugin defines different kinds of events, like showing an image on the screen, and collects different kinds of data, like recording which key was pressed at which time. By assembling different plugins together into a timeline, it is possible to create a wide range of…

完整内容见 GitHub 原始 README 或本页 。

常见问题

jsPsych 用什么语言开发?

主要使用 TypeScript 编写,采用 MIT License 许可证,目前有 1.2k 个 Star。

jsPsych 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 jsPsych 的源码?

可以直接克隆仓库:git clone https://github.com/jspsych/jsPsych.git,默认分支为 main;安装与运行步骤见仓库 README。

jsPsych 最近还在维护吗?

仓库最近一次更新为 3 周前,当前有 166 个未关闭 Issue;Star 数为 1.2k,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Create behavioral experiments in a browser using JavaScript

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
2507
价值分
922
活跃状态
活跃

语言占比

HTML
JavaScript
SCSS
Shell
TypeScript

README

jspsych logo

OpenSSF Best Practices

jsPsych is a JavaScript framework for creating behavioral experiments that run in a web browser.

Experiments in jsPsych are created using plugins. Each plugin defines different kinds of events, like showing an image on the screen, and collects different kinds of data, like recording which key was pressed at which time. By assembling different plugins together into a timeline, it is possible to create a wide range of online experiments.

What can I do with jsPsych?

jsPsych comes with a number of plugins that you can use create tasks and collect data. Some plugins do general things, like present a stimulus (text, image, audio, video) and record a key press or button response along with a response time. Other plugins do more specific things, like show a set of instructions pages, run a drag-and-drop image sorting task, or calibrate the WebGazer eye-tracking extension. See the list of all plugins to see what each plugin can do.

Often people can create their experiment by combining these plugins together. But if that’s not possible for your experiment, you can also modify a plugin file or create your own plugin. This gives you the flexibility to do exactly what you want, while still taking advantage of jsPsych’s general experiment-building framework. The plugin template is extremely flexible. If a task is possible to do in a web browser, you can almost certainly implement it as a plugin.

Getting started

jsPsych can be loaded into a project in a variety of ways, including via CDNs and through NPM. You can learn more about setting up a project by following the hello world tutorial on the jsPsych website.

Once you’ve got a project set up, the reaction time task tutorial is a great next step, since it covers many core topics and features.

There are also a number of community tutorials available on the website.

Examples

Several example experiments and plugin demonstrations are available in the /examples folder. After you’ve downloaded the latest release, double-click on an example HTML file to run it in your web browser, and open it with a programming-friendly text editor to see how it works.

Documentation

Documentation is available at https://www.jspsych.org.

Getting help

For questions about using the library, please use the GitHub discussions forum. You can also browse through the history of Q&A on the forum to find related questions.

Contributing

We :heart: contributions! See the contributing to jsPsych documentation page for more information about how you can help.

Citation

If you use this library in academic work, the preferred citation is:

de Leeuw, J.R., Gilbert, R.A., & Luchterhandt, B. (2023). jsPsych: Enabling an open-source collaborative ecosystem of behavioral experiments. Journal of Open Source Software, 8(85), 5351, https://joss.theoj.org/papers/10.21105/joss.05351.

This paper is an updated description of jsPsych and includes all current core team members. It replaces the earlier paper that described jsPsych:

de Leeuw, J.R. (2015). jsPsych: A JavaScript library for creating behavioral experiments in a Web browser. Behavior Research Methods, 47(1), 1-12. doi:10.3758/s13428-014-0458-y

Citations help us demonstrate that this library is used and valued, which allows us to continue working on it.

Contributors

jsPsych is open source project with numerous contributors. The project is currently managed by the core team of Josh de Leeuw (@jodeleeuw), Becky Gilbert (@becky-gilbert), Björn Luchterhandt (@bjoluc), and Jade (@jadeddelta).

jsPsych was created by Josh de Leeuw.

Thanks

We’re grateful for the generous support from a Mozilla Open Source Support award, which funded development of the library from 2020-2022, and from a National Science Foundation Grant, which funded work on the broader ecosystem from 2024-2026.

This project is tested with BrowserStack.

评论

暂无评论