1.0.3 • Published 4 years ago
esleep v1.0.3
esleep
Easy sleep function
Installing
npm install esleep
Usage
const esleep = require("esleep");
(async () => {
const now = Date.now();
await esleep(1000);
console.log(Date.now() - now);
})();
Easy sleep function
npm install esleep
const esleep = require("esleep");
(async () => {
const now = Date.now();
await esleep(1000);
console.log(Date.now() - now);
})();