Skip to content

ara-eunkyungjo/plugin-number-line

 
 

Repository files navigation

plugin-number-line

Overview

An implemention of a number line estimation task outlined by Cohen and Ray.

Installation

If you are using a build process, install the package using:

npm i @vijaymarupudi/plugin-number-line

or alternatively, if you're using a HTML file, include this in the <head> section

<script src="https://unpkg.com/jspsych/dist/index.browser.min.js"></script>
<script src="https://unpkg.com/pixi.js/dist/pixi.min.js"></script>
<script src="https://unpkg.com/@vijaymarupudi/plugin-number-line/dist/index.browser.js"></script></script>
<link rel="stylesheet" href="https://unpkg.com/jspsych/css/jspsych.css">

Usage

Refer to examples/index.html

If you are using a build system, import the plugin using:

import jsPsychNumberLine from '@vijaymarupudi/plugin-number-line'

Compatibility

plugin-number-line requires jsPsych v8.0.0 or later.

Documentation

See documentation

Author / Citation

This project was developed during the 2025 jsPsych hackathon. For more information, refer to the ReadMe file!

About

An implemention of a number line estimation task outlined by Cohen and Ray

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 96.6%
  • JavaScript 3.4%