Create behavioral experiments in a browser using JavaScript
Go to file
2020-12-02 17:46:13 -08:00
.github/workflows trigger actions on all branches 2020-10-23 10:09:12 -04:00
css fix slider label positioning with custom track/thumb CSS & calc - fixes #695 2020-11-14 16:57:01 -08:00
docs add override_safe_mode parameter to jsPsych.init 2020-12-02 17:42:18 -08:00
examples remove use_webaudio: false from audio examples 2020-12-02 17:46:13 -08:00
plugins Merge pull request #1171 from mgorenstein/fix-video-plugin-preload 2020-12-01 16:48:37 -08:00
tests add auto preload test 2020-12-02 12:11:38 -08:00
.gitignore update docs location structure 2018-01-03 15:58:30 -05:00
code-of-conduct.md modified CoC text 2019-10-17 10:08:05 +01:00
contributors.md Merge pull request #1203 from jspsych/freesort 2020-11-25 09:48:05 -08:00
jspsych.js add protocol check and file_protocol flag to disable Web Audio and video preloading (CORS errors) 2020-12-02 17:44:34 -08:00
license.txt Update license.txt 2018-01-16 13:11:28 -05:00
mkdocs.yml docs tweaks 2019-07-15 16:39:27 -04:00
package-lock.json update jest to 26.6 2020-10-20 14:37:37 -04:00
package.json update jest to 26.6 2020-10-20 14:37:37 -04:00
README.md Update README.md 2020-05-21 11:35:25 -04:00

logo

jsPsych is a JavaScript library for creating behavioral experiments that run in a web browser. jsPsych provides a framework for defining experiments using a set of flexible plugins that create different kinds of tasks a subject could complete during an experiment. By assembling these different plugins together it is possible to create many different types of experiments.

Examples

Several example experiments and plugin demonstrations are available in the /examples folder.

Documentation

Documentation is available at docs.jspsych.org.

Need help?

For questions about using the library, please use the Discussions forum.

Contributing

Contributions to the code are welcome. Please use the Issue tracker system to report bugs or discuss suggestions for new features and improvements. If you would like to contribute code, submit a Pull request.

Citation

If you use this library in academic work, please cite the paper that describes 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

Response times

Wondering if jsPsych can be used for research that depends on accurate response time measurement? For most purposes, the answer is yes. Response time measurements in jsPsych (and JavaScript in general) are comparable to those taken in standard lab software like Psychophysics Toolbox and E-Prime. Response times measured in JavaScript tend to be a little bit longer (10-40ms), but have similar variance. See the following references for extensive work on this topic.

Credits

jsPsych was created by Josh de Leeuw (@jodeleeuw).

There have been many contributors to the library. Thank you!