Skip to content

ianfabs/sleyp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

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!");
})();

Releases

No releases published

Packages

No packages published