const Timer = require('seekable-timer'); const timer = new Timer(1000); // This will give a new timer instance with 1000ms step timer.setOnTickHandler((timeOffset ...