Behavior Research Methods

, Volume 47, Issue 1, pp 1–12

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

Article

DOI: 10.3758/s13428-014-0458-y

Cite this article as:
de Leeuw, J.R. Behav Res (2015) 47: 1. doi:10.3758/s13428-014-0458-y

Abstract

Online experiments are growing in popularity, and the increasing sophistication of Web technology has made it possible to run complex behavioral experiments online using only a Web 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.

Keywords

Online experiments JavaScript Amazon Mechanical Turk 

Copyright information

© Psychonomic Society, Inc. 2014

Authors and Affiliations

  1. 1.Department of Psychological & Brain Science, Cognitive Science ProgramIndiana UniversityBloomingtonUSA

Personalised recommendations