jspsych / jsPsych

Create behavioral experiments in a browser using JavaScript
http://www.jspsych.org
MIT License
1.03k stars 668 forks source link

Pavlovia-jspsych plugin as JS module #3332

Open rahatzamancse opened 3 months ago

rahatzamancse commented 3 months ago

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. The only documentation I found regarding this is here. 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?)

PS. I posted on the discussion thread of pavlovia support (here). They asked me to post it here as well.

jodeleeuw commented 3 months ago

Hi @rahatzamancse

That plugin was developed by the Pavlovia team, so I think they would need to be the ones to publish it to npm. Alternatively, if you'd like to contribute a version to jspsych-contrib we could publish a version there.