# Faker (faker.js) — card for AI agents

JavaScript library that generates fake but realistic data (names, addresses, text, numbers, images, 70+ locales) in Node and the browser.

Category: Placeholder images, data and text · maker Faker community · checked 2026-10-21

## Price
- Price: Free
- Free tier: Fully free.

## License
MIT — https://raw.githubusercontent.com/faker-js/faker/next/LICENSE

- commercial: **yes** (Commercial use OK)
  > Permission is hereby granted, free of charge, to any person obtaining a copy of this software
  (https://raw.githubusercontent.com/faker-js/faker/next/LICENSE)
- attribution: **no** (No credit needed)
  > Permission is hereby granted, free of charge, to any person obtaining a copy of this software
  (https://raw.githubusercontent.com/faker-js/faker/next/LICENSE)
- in app: **yes** (Can ship inside your app)
  > Permission is hereby granted, free of charge, to any person obtaining a copy of this software
  (https://raw.githubusercontent.com/faker-js/faker/next/LICENSE)

## Rules to follow
- Keep the MIT copyright notice with copies of the library.
- Generated data is fake; do not present it as real.

## How an agent gets files
- npm install @faker-js/faker --save-dev, then import { faker } from '@faker-js/faker'. (sign-in: none)
- Formats: json
- Not allowed: Keep the MIT notice when redistributing the library

## Node.js (official example, https://fakerjs.dev/guide/usage)

```
npm install @faker-js/faker --save-dev

import { faker } from '@faker-js/faker';

const randomName = faker.person.fullName(); // Rowan Nikolaus
const randomEmail = faker.internet.email(); // Kassandra.Haley@erich.biz
```

## HTML/CSS (official example, https://fakerjs.dev/guide/usage)

```
<script type="module">
  import { faker } from 'https://esm.sh/@faker-js/faker';

  const randomName = faker.person.fullName();
  const randomEmail = faker.internet.email();
</script>
```

## How to connect
- Package (npm/PyPI)
- npm: `npm install @faker-js/faker`
- Repository: https://github.com/faker-js/faker
- Website: https://fakerjs.dev

## Notes
Install command is the standard npm one; the home page read does not show it.

## Numbers (AgentGid data)
- Gid Score: 63.2
- GitHub stars: 15,525
- Downloads last week: 9,663,998
- Used in 62 public projects set up for AI coding agents

## Lines to paste into your prompt or AGENTS.md

```
- Faker (faker.js) (Placeholder images, data and text). JavaScript library that generates fake but realistic data (names, addresses, text, numbers, images, 70+ locales) in Node and the browser. Price: free; commercial use OK; no credit needed.
  Connect: npm @faker-js/faker.
  Get files: npm install @faker-js/faker --save-dev, then import { faker } from '@faker-js/faker' (json).
  Not allowed: Keep the MIT notice when redistributing the library
  Rule: Keep the MIT copyright notice with copies of the library.
  Rule: Generated data is fake; do not present it as real.
  License: https://raw.githubusercontent.com/faker-js/faker/next/LICENSE (checked 2026-10-21; details: https://agentgid.com/assets/faker-js/)
```

Not verified: Package name @faker-js/faker and repo faker-js/faker are from general knowledge, not shown verbatim on the pages read. Image helper URLs from faker depend on third-party services not checked.

## Links
- AgentGid page: https://agentgid.com/assets/faker-js/
- Is it free for commercial use? https://agentgid.com/assets/faker-js/commercial-use/
- Source: https://fakerjs.dev
- Source: https://raw.githubusercontent.com/faker-js/faker/next/LICENSE

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
