psychopy.org | Reference | Downloads | Github

Importing javascript libraries for use in an experiment on pavlovia

URL of experiment:

Description of the problem:
Is it possible to use opensource javascript libraries on pavlovia? I am looking to find javascript equivalents of some functions from pandas and random from python.

The functions I would like to use are as follows:
pandas.read_excel
random.randint
excel.to_excel

The javascript libraries I am considering are as follows:
Danfo.js

or any of the libraries listed here:

Is using a third party javascript library on pavlovia possible? If not are there any other ways to have the functionality offered by the python functions listed above?

Thank you.

I use PsychoPy loops to read Excel files into list objects or dictionaries

Randint is in my crib sheet

randint = function(min, maxplusone) {
  return Math.floor(Math.random() * (maxplusone - min) ) + min;
}

I haven’t found a way to write files but can send data to an external website (e.g. Qualtrics)

Thank you for the reply. I will have a look at this and see if I can get it to do what I need.