Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 490 Bytes

README.md

File metadata and controls

34 lines (24 loc) · 490 Bytes

suimin

npm version

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