Create behavioral experiments in a browser using JavaScript
Go to file
2021-02-19 18:22:36 -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 Merge pull request #1442 from GEJ1/master 2021-02-19 17:26:33 -05:00
examples remove unused CSS 2021-02-19 18:22:36 -08:00
extensions create targets parameter for webgazer ext 2021-02-05 14:16:03 -05:00
plugins Merge pull request #1442 from GEJ1/master 2021-02-19 17:26:33 -05:00
tests default to case-insensitive in compareKeys and getKeyboardResponse if called before jsPsych.init, add tests #396 2021-02-19 10:18:52 -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 #1228 from kurokida/freesort 2021-02-18 16:40:28 -08:00
jspsych.js Merge branch 'master' into feature-key-code-update 2021-02-19 10:24:21 -08:00
license.txt Update license.txt 2018-01-16 13:11:28 -05:00
mkdocs.yml Merge branch 'master' into pr/pjkohler/1442 2021-02-18 16:58:00 -05:00
package-lock.json update jest to 26.6 2020-10-20 14:37:37 -04:00
package.json step version in package.json 2021-02-15 21:46:48 -05: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!