OSS TanbouSign in with GitHub

generate realistic-looking people, locations, products, and other fake data for testing and development

About these scores

OSS scale score is an unbounded metric that log-compresses and weights Stars, Watchers, Forks, and Contributors. Discovery score is the current OSS scale score minus the score at discovery. Update pace is commits in the last 30 days, growth momentum is the OSS scale score difference within the recent observation window, and OSS health is a 0–100 rating based on available recency, Community Health, and release data.

Stars
15,509
Primary language
TypeScript
License
MIT
Repository last updated
Oct 5, 2026
On this page

Overview

Faker generates fake data for tests, fixtures, and UI development across people, locations, dates, finance, commerce, strings, and other domains. Multiple locales are available, and seeded randomness can make generated sequences reproducible.

Features and best fit

Based on official documentation; not hands-on tested · Content checked:

Key features

Generate data from person, location, date, commerce, and other modules

Modules such as person, location, date, finance, commerce, number, and string produce values for test fixtures and sample datasets, with helpers available for generating repeated records.

Sources: [1]

Switch locales for region-specific data formats

More than 70 locales provide localized definitions for names, addresses, phone numbers, and related data. Projects can also configure locale fallbacks when a selected locale lacks a module definition.

Sources: [1]

Seed randomness for reproducible test data

faker.seed() resets the pseudo-random sequence so tests using generated fixtures can reproduce the same values when needed.

Sources: [1]

Best fit

Fits tests, UI previews, seed data, and large sample datasets

It is useful when unit tests, interface previews, development databases, or performance exercises need many sample values without manually authoring records.

Sources: [1]

Before adoption

Version 10.6.0 has specific Node.js engine ranges

Package metadata requires Node.js ^20.19.0 || ^22.13.0 || ^23.5.0 || >=24.0.0 and npm >=10, so development and CI runtimes should be checked before adoption.

Sources: [2]

Generated values are not anonymized real data and may match real identities by chance

The README warns that generated names, addresses, email addresses, phone numbers, and similar values can coincidentally be valid real-world information. Keep them behind test-only boundaries and do not send real messages or calls to generated contacts.

Sources: [1]

Official sources

  1. [1]Faker v10.6.0 README(2026-10-05)
  2. [2]Faker v10.6.0 package metadata(2026-10-05)
  3. [3]Faker v10.6.0 changelog(2026-10-05)
  4. [4]Faker v10.6.0 release(2026-10-05)
  5. [5]Faker license(2026-10-05)
Supplemental curator note

Faker intentionally produces realistic-looking data, so generated names, addresses, emails, or phone numbers can coincidentally match real information. Keep test systems from actually contacting generated identities.

Try it in 3 steps

  1. 1

    Install Faker 10.6.0 as a development dependency

    Follow the README install pattern and pin the reviewed release in an isolated project.

    demo=$(mktemp -d "${TMPDIR:-/tmp}/faker.XXXXXX") && cd "$demo" && npm init -y >/dev/null && npm install --save-exact --save-dev @faker-js/faker@10.6.0
  2. 2

    Create a seeded fake-data script

    Generate a name and email twice with the same seed to demonstrate reproducible output.

    printf "%s\n" "import {faker} from '@faker-js/faker';" "faker.seed(123);" "const first = {name: faker.person.fullName(), email: faker.internet.email()};" "faker.seed(123);" "const second = {name: faker.person.fullName(), email: faker.internet.email()};" "if (JSON.stringify(first) !== JSON.stringify(second)) process.exit(1);" "console.log(first);" > demo.mjs
  3. 3

    Run the generator with Node.js

    Confirm that the seeded runs match and that Faker produces sample values.

    node demo.mjs
Check the official README

Growth

Growth trends · Last 30 days

15,509 Stars

Trend data is still being collected.

Development activity

Last 90 days · weekly

Commits (last 30 days)
70
Open PRs
17

Development activity is still being collected.

Built with

Categories and tags

GitHub data

GitHub dataView detailed GitHub data

GitHub Topics

  • faker
  • data
  • fake
  • nodejs
  • browser
  • javascript
  • typescript
Stars
15,509
Forks
1,130
Watchers
38
Open issues
81
Contributors
417
Owner type
Organization
Primary language
TypeScript
License
MIT
Repository last updated
Oct 5, 2026
Write a related article

Share a guide or use case for this OSS in Markdown. Articles are published after administrator approval.

Report incorrect information

Tell us if any listing information is incorrect or outdated.

After reading this page, do you know what to do next?