npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

n8n-nodes-random-wait

v0.1.2

Published

n8n node that waits a random time between a minimum and maximum duration.

Readme

n8n-nodes-random-wait

This is an n8n community node. It lets you add randomized waiting delays inside your n8n workflows.

Random Wait is a utility node that pauses workflow execution for a random duration between two specified values. It is useful for rate-limiting, API scraping, simulating non-deterministic behavior, and avoiding predictable automation patterns.

n8n is a fair-code licensed workflow automation platform.

Installation

Follow the installation guide in the n8n community nodes documentation.

Operations

The node exposes a single operation :

  • Random Wait: Pauses the current workflow execution for a random amount of time between the configured Min Wait and Max Wait values.

Parameters

  • Min Wait: number — Minimum duration to wait (default: 1). Must be >= 0.
  • Max Wait: number — Maximum duration to wait (default: 5). Must be >= 0 and greater than or equal to Min Wait.
  • Wait Unit: options — Time unit for the min/max values. One of: milliseconds, seconds, minutes, hours, days (default: seconds).

Behavior

  • The node picks a random floating-point value uniformly between min and max (inclusive of min, exclusive of max), multiplies by the unit multiplier and calls putExecutionToWait with the resulting future timestamp. When the wait time elapses, n8n resumes the workflow and the node outputs the input data unchanged.

Credentials

No credentials are required. This node performs only local timing and does not interact with external services.

Compatibility

  • n8n nodes API: n8nNodesApiVersion: 1 (see package.json).
  • Node: This package declares n8n-workflow as a peer dependency and is intended for use with n8n installations that support custom community nodes (n8n >= 1.x).
  • Known issues: none

If you run into compatibility issues with a specific n8n or Node.js version, please open an issue in the repository.

Usage

Use this node when you need to introduce non-deterministic delays in your workflow, such as:

  • Avoiding detection when scraping public websites
  • Introducing jitter between API calls
  • Simulating human-like timing
  • Throttling workflow execution without fixed intervals

Notes and tips

  • Decimal values are supported (e.g., 1.5 seconds).
  • The node does not change or consume the incoming data — it simply resumes the workflow with the same input once the wait completes.
  • Because it uses n8n's waiting mechanism, it is suitable for long waits without consuming runtime CPU.

Resources

Version history

0.1.1

  • Initial release
  • Added support for random wait duration between min and max
  • Added unit selection (ms, seconds, minutes, hours, days)

0.1.2

  • Add relevant keywords in package.json