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-data-generator

v1.1.2

Published

Generate mock data using Faker.js

Readme

n8n-nodes-data-generator

This is a custom n8n node designed to generate dummy data using the Faker.js library in your n8n workflows.

Faker.js is a popular library for generating fake data for various purposes, such as testing and development.

n8n is a fair-code licensed workflow automation platform.

Operations
Compatibility
Usage Installation

Operations

Generate dummy data based on defined rules using Faker.js.

Compatibility

This node is compatible with FakerJS v8.4.1. Please ensure you are using a compatible version of FakerJS.

Usage

This application provides three modes to define rules for generating mock data:

Simple Mode

This is the simplest mode. You only need to enter the field name on each line. The tool will automatically select the appropriate rules based on the field name. You can specify rules for each field by defining them in the format:

id:number.int(1000)
name
email:internet.email()

UI Mode

You can add fields and rules directly through the UI.

UI Mode

Advanced Mode

This is the professional mode if you want to define rules by defining a JSON object. In this mode, you can use faker.js rules with custom parameters.

[
  {"name": "id", "rule":"number.int(100000)"},
  {"name": "email", "rule":"internet.email()"},
  {"name": "firstName", "rule":"name.firstName()"},
  {"name": "lastName", "rule":"name.lastName"},
  {"name": "address", "rule":"address.streetAddress"},
  {"name": "city", "rule":"address.city()"},
  {"name": "state", "rule":"address.state"},
  {"name": "zip", "rule":"address.zipCode"}
]

A full list of rules can be found on the faker.js homepage: Faker.js API

Hint: In this mode, you can use AI with the prompt:

I am a programmer, and I have a list of database fields entered by users: "id", "created_at", "updated_at", "deleted_at", "name", "email".
I need to convert this list of fields into corresponding Faker.js rules in the following format: [{"name": "email", "rule": "internet.email"}].
I need you to return only the generated code.

Select the number of records to generate. The system will automatically create the requested number of records as shown below:

[
  {
    "email": "[email protected]",
    "firstName": "Andrew",
    "lastName": "Mueller",
    "address": "158 Jaren Fall",
    "city": "South Gwendolyn",
    "state": "Washington",
    "zip": "31295"
  }
]

Supports all Faker.js APIs as documented: Faker.js API

Installation

To install a custom node in n8n, follow these steps:

  1. Refer to the official documentation: n8n Custom Node Installation

  2. Choose the custom node you want to install, for example, n8n-nodes-data-generator.

  3. Follow the instructions provided in the documentation to install and configure the custom node.

For detailed installation steps and configuration options, please visit the official n8n documentation linked above.