pause-ms

1.0.3 • Public • Published

PAUSE-MS

Utility without dependencies to pause your code.

Installation

Use the package manager to install pause-ms

npm:

npm install pause-ms

yarn:

yarn install pause-ms

Usage

import wait from 'pause-ms'
 
for (let i = 1; i < 5; i++) {
    wait(1000)
    console.log(i)
}
Pull requests are welcome!

Package Sidebar

Install

npm i pause-ms

Weekly Downloads

5

Version

1.0.3

License

ISC

Unpacked Size

945 B

Total Files

3

Last publish

Collaborators

  • v_excelsior