sleepfor
sleep using while loops
installation
yarn add on-the-fly global
npm i on-the-fly -s -g
examples
const sleepfor = require('sleepfor')
sleepfor(1000)
- for more enforced nodejs only sleeping, https://github.com/erikdubbelboer/node-sleep
sleep using while loops
yarn add on-the-fly global
npm i on-the-fly -s -g
const sleepfor = require('sleepfor')
sleepfor(1000)