Gathering detailed insights and metrics for @jspsych/plugin-preload
Gathering detailed insights and metrics for @jspsych/plugin-preload
Gathering detailed insights and metrics for @jspsych/plugin-preload
Gathering detailed insights and metrics for @jspsych/plugin-preload
npm install @jspsych/plugin-preload
@jspsych/plugin-audio-button-response@2.0.2
Published on 21 Nov 2024
jspsych@8.1.0
Published on 21 Nov 2024
@jspsych/plugin-sketchpad@2.0.2
Published on 13 Nov 2024
@jspsych/plugin-maxdiff@2.0.2
Published on 13 Nov 2024
@jspsych/plugin-instructions@2.0.1
Published on 13 Nov 2024
@jspsych/plugin-free-sort@2.0.2
Published on 13 Nov 2024
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
1,046 Stars
3,696 Commits
679 Forks
42 Watching
22 Branches
86 Contributors
Updated on 28 Nov 2024
TypeScript (95.29%)
HTML (2.3%)
JavaScript (1.88%)
SCSS (0.53%)
Cumulative downloads
Total Downloads
Last day
28%
160
Compared to previous day
Last week
25.8%
1,381
Compared to previous week
Last month
-20.2%
6,142
Compared to previous month
Last year
81.4%
75,354
Compared to previous year
1
jsPsych is a JavaScript framework for creating behavioral experiments that run in a web browser.
Experiments in jsPsych are created using plugins. Each plugin defines different kinds of events, like showing an image on the screen, and collects different kinds of data, like recording which key was pressed at which time. By assembling different plugins together into a timeline, it is possible to create a wide range of online experiments.
jsPsych comes with a number of plugins that you can use create tasks and collect data. Some plugins do general things, like present a stimulus (text, image, audio, video) and record a key press or button response along with a response time. Other plugins do more specific things, like show a set of instructions pages, run a drag-and-drop image sorting task, or calibrate the WebGazer eye-tracking extension. See the list of all plugins to see what each plugin can do.
Often people can create their experiment by combining these plugins together. But if that's not possible for your experiment, you can also modify a plugin file or create your own plugin. This gives you the flexibility to do exactly what you want, while still taking advantage of jsPsych's general experiment-building framework. The plugin template is extremely flexible. If a task is possible to do in a web browser, you can almost certainly implement it as a plugin.
jsPsych can be loaded into a project in a variety of ways, including via CDNs and through NPM. You can learn more about setting up a project by following the hello world tutorial on the jsPsych website.
Once you've got a project set up, the reaction time task tutorial is a great next step, since it covers many core topics and features.
There are also a number of video tutorials available on the website.
Several example experiments and plugin demonstrations are available in the /examples
folder.
After you've downloaded the latest release, double-click on an example HTML file to run it in your web browser, and open it with a programming-friendly text editor to see how it works.
Documentation is available at https://www.jspsych.org.
For questions about using the library, please use the GitHub discussions forum. You can also browse through the history of Q&A on the forum to find related questions.
We :heart: contributions! See the contributing to jsPsych documentation page for more information about how you can help.
If you use this library in academic work, the preferred citation is:
de Leeuw, J.R., Gilbert, R.A., & Luchterhandt, B. (2023). jsPsych: Enabling an open-source collaborative ecosystem of behavioral experiments. Journal of Open Source Software, 8(85), 5351, https://joss.theoj.org/papers/10.21105/joss.05351.
This paper is an updated description of jsPsych and includes all current core team members. It replaces the earlier paper that described 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
Citations help us demonstrate that this library is used and valued, which allows us to continue working on it.
jsPsych is open source project with numerous contributors. The project is currently managed by the core team of Josh de Leeuw (@jodeleeuw), Becky Gilbert (@becky-gilbert), and Björn Luchterhandt (@bjoluc).
jsPsych was created by Josh de Leeuw.
We're also grateful for the generous support from a Mozilla Open Source Support award, which funded development of the library from 2020-2022.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
all changesets reviewed
Reason
30 commit(s) and 11 issue activity found in the last 90 days -- score normalized to 10
Reason
license file detected
Details
Reason
no binaries found in the repo
Reason
dependency not pinned by hash detected -- score normalized to 3
Details
Reason
9 existing vulnerabilities detected
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
Project has not signed or included provenance with any releases.
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More