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 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-user-agent-random

v0.1.0

Published

n8n節點包,提供隨機User-Agent功能,幫助模擬各種瀏覽器和設備。

Readme

n8n User Agent Random Node

This community node package provides random User-Agent functionality for n8n, helping you simulate various browsers and devices when making web requests. This version has removed webhook functionality.

n8n is a free and open-source workflow automation tool.

Features

  • Support for randomly selecting from predefined User-Agent library
  • Choose between desktop browser or mobile device browser User-Agents
  • Dynamic generation of User-Agents with random components
  • Support for custom User-Agent lists
  • Seamless integration with HTTP Request nodes
  • Uses n8n's latest declarative style node architecture

Installation

Community Nodes Installation (Recommended)

For most users, installing using n8n's community nodes feature is the simplest method:

  1. Open your n8n instance
  2. Click on Settings button in the top right
  3. Select "Community Nodes"
  4. Search for "n8n-nodes-user-agent-random"
  5. Click Install

Install from Source

Alternatively, you can install directly from source:

# Install n8n globally (if not already installed)
npm install n8n -g

# Install this node package
npm install n8n-nodes-user-agent-random -g

# Start n8n
n8n start

Usage

After installation, you can use the "User Agent Random" node in n8n's workflow editor.

Basic Configuration

  1. Add the "User Agent Random" node to your workflow
  2. Configure the following options:
    • Mode: Choose "Random", "Dynamic Generation", or "Custom"
    • User-Agent Type: If using random mode, select "Desktop Browser", "Mobile Browser", or "All Types"
    • Custom User-Agent List: If using custom mode, enter one User-Agent per line
    • Output Method: Choose "User-Agent Only", "Add as Item Property", or "Create Full HTTP Headers"

Mode Options

  • Random: Selects from a large predefined library of User-Agents
  • Dynamic Generation: Creates completely new User-Agents on the fly by combining various browser, OS and device components
  • Custom: Uses your own list of User-Agents

Output Options

  • User-Agent Only: Node returns only the User-Agent string
  • Add as Item Property: Adds the User-Agent to a specified property of input items
  • Create Full HTTP Headers: Generates a complete HTTP headers object with User-Agent

Example Workflows

  • Basic Scraper: Use User Agent Random node to set HTTP Request node headers
  • API Polling: Regularly switch User-Agents in long-running workflows to avoid rate limiting
  • Multi-Request Batching: Generate different User-Agents for each HTTP request to increase request diversity

Supported Browsers and Devices

The predefined User-Agent library includes:

Desktop Browsers

  • Chrome (Windows/Mac/Linux)
  • Firefox (Windows/Mac/Linux)
  • Safari (Mac)
  • Edge (Windows/Mac)
  • Opera (Windows/Mac)
  • Brave (Windows/Mac)
  • Vivaldi (Windows/Mac)

Mobile Device Browsers

  • Chrome (Android/iOS)
  • Safari (iOS)
  • Firefox (Android/iOS)
  • Samsung Browser (Android)
  • Edge (Android/iOS)
  • Opera (Android/iOS)
  • Brave (Android)
  • DuckDuckGo (iOS)

Dynamic Generation

The dynamic generation mode can create virtually unlimited variations of User-Agents by combining:

  • Different browser types (Chrome, Firefox, Safari, Edge, etc.)
  • Various browser versions
  • Multiple operating systems (Windows, macOS, Linux, Android, iOS)
  • Different OS versions
  • Various device models (for mobile User-Agents)

This helps create more varied and realistic User-Agents that might not be in standard libraries.

Technical Details

This node is developed using the declarative node style, fully compliant with n8n's latest development patterns and specifications. It doesn't rely on any external APIs, with all functionality executing locally.

License

MIT