jsPsych: A JavaScript library for creating behavioral experiments in a Web browser

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

Online experiments are growing in popularity, and the increasing sophistication ofWeb technology hasmade it possible to run complex behavioral experiments online using only aWeb browser. Unlike with offline laboratory experiments, however, few tools exist to aid in the development of browser-based experiments. This makes the process of creating an experiment slow and challenging, particularly for researchers who lack a Web development background. This article introduces jsPsych, a JavaScript library for the development of Web-based experiments. jsPsych formalizes a way of describing experiments that is much simpler than writing the entire experiment from scratch. jsPsych then executes these descriptions automatically, handling the flow from one task to another. The jsPsych library is open source and designed to be expanded by the research community. The project is available online at www.jspsych.org.

Download a PDF version of the paper here.