{"library":"chance","type":"library","category":null,"description":"Chance.js is a comprehensive utility library designed for generating a wide variety of random data in JavaScript environments, including Node.js and browsers. It currently stands at stable version 1.1.13 and has a generally infrequent release cadence, with major updates occurring as needed for new features or critical bug fixes rather than on a fixed schedule. Its core differentiator is its foundation on the Mersenne Twister algorithm, which allows for repeatable pseudo-random sequences when seeded, making it invaluable for testing, data simulation, and reproducible scenarios. The library provides generators for basic types like numbers, characters, and strings, as well as complex data such as names, addresses, dice rolls, and geographical coordinates, distinguishing itself by its breadth and optional determinism.","language":"javascript","status":"active","version":"1.1.13","tags":["javascript","chance","random","generator","test","mersenne","name","address","dice"],"last_verified":"Wed May 27","install":[{"cmd":"npm install chance","imports":["import Chance from 'chance';","const Chance = require('chance');","<script src=\"path/to/chance.min.js\"></script>\n// Chance is now available globally"]},{"cmd":"yarn add chance","imports":[]},{"cmd":"pnpm add chance","imports":[]}],"homepage":"https://chancejs.com","github":"https://github.com/chancejs/chancejs","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/chance","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/chance/compatibility"}}