Skip to content
A JavaScript library for creating and running behavioral experiments in a web browser
JavaScript CSS
Branch: master
Clone or download
Latest commit 87571e9 Oct 17, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
css
docs minor docs updates Jul 16, 2019
examples check TOC; make necessary changes #617 Jul 15, 2019
plugins revert changes to video plugins Oct 17, 2019
tests video tests, step package version Jul 16, 2019
.gitignore update docs location structure Jan 3, 2018
.travis.yml update test environment Jun 13, 2017
README.md minor docs updates Jul 16, 2019
code-of-conduct.md modified CoC text Oct 17, 2019
contributors.md added BG to contributors Oct 17, 2019
jspsych.js fixes #659 Oct 17, 2019
license.txt Update license.txt Jan 16, 2018
mkdocs.yml docs tweaks Jul 15, 2019
package-lock.json bump jest v22 -> v24 Jul 5, 2019
package.json video tests, step package version Jul 16, 2019

README.md

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 post to the jsPsych e-mail list. This creates a public archive of questions and solutions.

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!

You can’t perform that action at this time.