New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

delay2

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

delay2

https://twitter.com/rakesh314/status/931504992330047489

latest
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

https://twitter.com/rakesh314/status/931504992330047489

Install:

npm install delay2

Usage:

await delay(1000); // wait a sec
... // continue

With promises: Get with the times. Alternatively,

delay(1000).then(whatever);

Node 4+ needed (needs native promise support).

License: wut?

FAQs

Package last updated on 17 Nov 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts