tik-log
v1.0.0
Published
A tiny npm package that logs tick on an interval.
Maintainers
Readme
tik-log
A tiny npm package that exports one function: tick.
Install
npm install tik-logUsage
import { tick } from 'tik-log';
const interval = tick(2);
setTimeout(() => {
clearInterval(interval);
}, 7000);tick(seconds) expects a positive number. It logs tick every seconds seconds and returns the interval handle so you can stop it with clearInterval(...).
