Naturally Processed Meals
Have opinions about JavaScript? We want to hear them. Take the 2018 JavaScript Ecosystem Survey »

poky

1.0.1 • Public • Published

poky logo


Delay with promises in Node.

GitHub | NPM

Usage

const poky = require('poky')
 
;(async () => {
    // So we're in an async function.
 
    console.log('Hold on.')
 
    await poky(1000)
 
    console.log('That took one second / 1000ms.')
})()

Install

npm i poky

install

npm i poky

Downloadsweekly downloads

10

version

1.0.1

license

SEE LICENSE IN LICENSE.md

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability