unicorn-fun Install $ npm install sleep-while Usage const sleep = require("sleep-while"); await sleep(1000); //do some thing after 1000ms API sleep(ms) input Type: number