Is there any npm package for jsPsych support?

I am building experiments with npm (vite) and jsPsych-7. However, I am not being able to find any package online to install pavlovia-jspsych using npm. Is there any available package like this? If there isn’t, how can I use pavlovia (how can I import pavlovia-jspsych as a module?)

Hi There,

You can find some guidance on using jsPsych with pavlovia here hopefully this helps!

Becca

Yes, i saw this. But it only allows to use pavlovia plugin as a js script. I want to use it as a module. I couldn’t find anything written on how to install/use the pavlovia plugin as an npm package or import it as module.

Hi There,

Ah ok I am afraid I am not overly familiar with jsPsych (we mainly use PsychoPy/PsychoJS as that is the tool we develop) - it might be worth asking on the jsPsych forum as well incase there are users there that are more familiar with the approach to use!

Becca