1.0.1 • Published 5 years ago
sleyp v1.0.1
Sleyp
Sorry, sleep
was taken.
A sleep implementation for that sweet async/await syntax
Anyway, here is an example
const sleep = require('sleyp');
(async () => {
console.log("Hello,");
await sleep(3000);
console.log("World!");
})();