sleyp

1.0.1 • Public • Published

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

/sleyp/

    Package Sidebar

    Install

    npm i sleyp

    Weekly Downloads

    1

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    782 B

    Total Files

    4

    Last publish

    Collaborators

    • ianfabs