Driftless
Driftless setInterval and setTimeout replacement for Node and the browser
Driftless setInterval and setTimeout replacement for Node and the browser The project is written primarily in JavaScript, distributed under the MIT License license, first published in 2014. Key topics include: accurate, drift, precise, setinterval, settimeout.
driftless 
Driftless setInterval and setTimeout replacement for Node and the browser
Usage
npm install driftless
jsimport { setDriftlessTimeout, setDriftlessInterval, clearDriftless, } from 'driftless'; // Use like setTimeout and setInterval
How it works
driftless repeatedly calls setTimeout in advance of the requested timeout for
greater accuracy. It does this recursively, until the timeout is reached within
a given threshold.
Contributors
Showing top 2 contributors by commit count.
This article is auto-generated from dbkaplun/driftless via the GitHub API.Last fetched: 6/14/2026

