faker-js/faker

Generate massive amounts of fake data in the browser and node.js

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 18 minutes ago
Added to GitGenius on September 3rd, 2026
Created on January 7th, 2022
Open Issues & Pull Requests: 126 (+0)
GitHub issues: Enabled
Number of forks: 1,119
Total Stargazers: 15,485 (+1)
Total Subscribers: 39 (+0)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Issue API getrepoissuespagesummary failed: 429 Rate limit exceeded. Please try again later.

Detailed Description

Faker is a library that generates massive amounts of fake but realistic data for testing and development in the browser and Node.js.

The library solves the problem of needing convincing test data without using real user information. It works by providing generator methods across multiple data categories including person details, locations, dates, financial information, commerce data, and random numbers and strings. The tool emphasizes generating realistic-looking data rather than obviously fake values, and includes a template system using mustache string format to combine multiple generator methods. It supports seeding for reproducible results and offers localization across more than seventy locales, with fallback to English when a locale lacks data for a particular module.

Developers should choose this tool when building test suites, prototypes, or development environments that need convincing sample data without ethical concerns about using real information. It suits projects of any scale from small unit tests to large data generation tasks. The library works in both browser and Node.js environments, making it flexible for different development contexts. The tool's emphasis on realistic output means generated names, addresses, emails, and phone numbers may coincidentally match real data, so users should avoid actually contacting or messaging any generated information.

The project maintains active development with regular updates across multiple version branches, providing both stable and next-generation releases with corresponding documentation. The codebase is written in TypeScript and the project accepts community contributions through a formal contributing guide. Development is sustained through sponsorship and backer support, indicating ongoing commitment to maintenance and feature development.