npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

minno-time

v0.5.5

Published

A free tool for creating reaction time tasks

Downloads

4

Readme

minno-time

Minno time (miTime) is a module of MinnoJS. It runs experiments with time-sensitive tasks over the Internet. It is written in JavaScript and is built to be extremely versatile and customizable.

A simple use case can be found in this repository in the example directory. But it is probably easiest to use within the context of mi-manager. Full documentation can be found at https://minnojs.github.io/minno-time.

Understaning miTime

In order to use miTime effectively you need to understand two systems that are virtually independent. The first is the trial which controls a single set of interactions between the user and the player. The second is the sequencer which manages multiple trials, their order and various aspects of randomization.

The time module allows researchers to create complex interactions for their subjects. Therefore the first thing that a time user needs to understand is how interactions work in the player.

miTime is an event driven player. The basic starting point for the player is of waiting, it is waiting for an event to be triggered. Events are commonly triggered by users, by pressing a key, or clicking a button, but they can also be triggered by a timer. Each time an event is triggered the player triggers any actions bound to that event. So for example, you can bind an action that displays a stimulus to the event triggered when a user presses the space key.

When programing a task your main job is to describe these binding between events and actions. Each binding is called an interaction, and has two parts: conditions and actions. The conditions of the interaction, are a list of requirements that we impose in order for the actions to be triggered. Each time an event is triggered the player reviews all interactions and checks if their conditions fit the event triggered and the state of the trial. They allow you to define the type(s) of events that you want to respond to and define the requirements imposed on the state. For example, you can define a set of actions to be triggered by "key press" events when the key equals space, that will be activated only when the state indicates that a stimulus has already been displayed.

Actions are changes that affect the state of the player. They can display or hide stimuli, they can log events and are free to make any custom change needed.