suimin sleep function for javascript Installation npm install suimin --save Usage const suimin = require('suimin'); async function test() { console.log('Taking a break...'); await suimin(2000); console.log('Two second later'); } test(); Test npm install npm test License MIT license