Nice Paintings, Mondrian

    @cp1001/await-sleep

    1.0.1 • Public • Published

    How to use

    npm i @cp1001/await-sleep;
    
    const sleep = require('@cp1001/await-sleep');
    
    (async () => {
        console.time("Slept for");
        await sleep(1000);
        console.timeEnd("Slept for");
    })();
    
    Slept for: 1005.843ms
    

    Install

    npm i @cp1001/await-sleep

    DownloadsWeekly Downloads

    1

    Version

    1.0.1

    License

    ISC

    Unpacked Size

    846 B

    Total Files

    3

    Last publish

    Collaborators

    • cp1001