Originally extracted from a game engine I wrote, I found these timers extremely useful elsewhere. It provides five little timer abstractions which make using timers in Javascript a little easier.
Simple and lightweight, zero-dependency library to create and manage, well, timers. tick number 1 Tick interval in seconds. onstart (ms: number) => void null Called when the timer starts. Receives ...