suimin
v0.1.2
Published
sleep function for javascript
Downloads
4
Readme
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