dummy-data-generator
Generate tabular test fixtures (JSON or CSV) from a chosen mix of fake fields. Each row is a consistent identity — first/last name match the email; state matches the ZIP prefix. Public-domain data tables; pure JS; deterministic when a seed is passed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | How many rows to generate. Min 1, max 1000. | |
| seed | No | Optional integer seed for deterministic output. Same seed + same inputs = same rows. Omit for fresh randomness on each call. | |
| fields | Yes | Which columns to include. Pick at least one. Order in the array is the output column order. Allowed: firstName, lastName, email, phone, address, city, state, zip, country, company, date, uuid, loremText, numberRange. | |
| format | Yes | Output format. 'json' returns an array of objects; 'csv' returns RFC-4180 CSV with a header row. | |
| numberMax | No | Upper bound (inclusive) for the numberRange field. Default 1000. | |
| numberMin | No | Lower bound (inclusive) for the numberRange field. Default 0. | |
| loremWords | No | How many words in each loremText field. Default 8. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Serialized rows in the requested format (JSON string or CSV string). | |
| rows | Yes | Number of rows generated. | |
| fields | Yes | Column names included, in output order. | |
| format | Yes | Format that was used to serialize. |