
FakeData
Get your fake data in seconds
FakeData is a lightweight command-line tool and JavaScript library built to generate mock data structures quickly. Supporting custom layouts, locale-specific variations, and random seed generation, it helps developers mock APIs and seed databases.
Key Features of FakeData
- Multi-Locale Generation: Produces realistic name, address, and phone inputs localized for over 40 countries.
- Seedable Randomness: Ensures random data generation runs remain reproducible by locking seed numbers.
- Custom Schema Maps: Define unique structures (e.g. users, products) using declarative schema maps.
- Zero External Dependencies: Very small package size, making it quick and easy to install in environments.
Benefits of Using FakeData
- Fast API Mocking: Set up mock endpoints that deliver realistic JSON structures in seconds.
- Deterministic Testing: Seeded data ensures integration tests remain consistent and reproducible across runs.
- Protect User Data: Skip copying production databases; seed development databases with clean mock structures.
To speed up manual form completion, FakeData allows testers to generate mock addresses, JSON files, and contact details with a single click.
Tags:
Mock DataWebFreeTest DataGenerators


