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

Behav Res Methods. 2015 Mar;47(1):1-12. 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 .

Publication types

  • Research Support, U.S. Gov't, Non-P.H.S.

MeSH terms

  • Behavioral Research* / instrumentation
  • Behavioral Research* / methods
  • Behavioral Research* / trends
  • Humans
  • Internet
  • Library Automation
  • Library Technical Services*
  • Research Design / trends*
  • Web Browser*