Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

Chance

Generates random data (names, addresses, numbers) for tests and seeds.

TestingNPM

GitHubWebsite

1. License

License from npm.

github.com/chancejs/chancejs

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What Chance does

Generates random data (names, addresses, numbers) for tests and seeds.

Chance popularity

49 / 100
Gid Score, #2088 overall
3.7M
downloads a week, npm
6,526
GitHub stars
3
agent projects use it
Chance: downloads per weeknpm, chance 3,681,981
Chance: GitHub starschancejs/chancejs 6,526

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How Chance is used

  • Chance joined the catalog on its public numbers (3,681,981 downloads a week on npm and 6,526 GitHub stars), not on our project count: it is a dependency in 5 public GitHub projects of our scan, 3 of them set up for AI coding agents.
  • The most used alternative in our scan is Faker.js (64 projects).
  • Projects that use it most often also use Lodash (60.0%), Vitest (60.0%), Prettier (60.0%).

Often used with

In 60.0% of its projects
In 60.0% of its projects
In 60.0% of its projects
In 40.0% of its projects
In 40.0% of its projects
In 40.0% of its projects
In 40.0% of its projects
In 80.0% of its projects

More about Chance

More in Testing

Alternatives

Chance This page

MITGid 493.7M/wk

Faker.js

Generate realistic fake data for testing and development.

MITGid 7226.5M/wk

Compare Chance with another tool

Get started

Install it.

npm install chance

No step-by-step start for Chance yet: we have not written its hand-checked card.