{"id":15992880,"url":"https://github.com/bash-archive/random.js","last_synced_at":"2025-03-17T19:32:04.254Z","repository":{"id":57139112,"uuid":"85471100","full_name":"bash-archive/random.js","owner":"bash-archive","description":":game_die:  A deterministic random number generator for node","archived":true,"fork":false,"pushed_at":"2025-02-19T22:16:46.000Z","size":250,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-02T15:44:51.436Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bash-archive.png","metadata":{"files":{"readme":"readme.md","changelog":"changelog.md","contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-19T11:34:42.000Z","updated_at":"2025-02-19T22:18:26.000Z","dependencies_parsed_at":"2024-10-27T16:09:53.984Z","dependency_job_id":"f2f42cd4-9000-42df-8a36-a6f387dbd11e","html_url":"https://github.com/bash-archive/random.js","commit_stats":null,"previous_names":["bash/random.js"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bash-archive%2Frandom.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bash-archive%2Frandom.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bash-archive%2Frandom.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bash-archive%2Frandom.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bash-archive","download_url":"https://codeload.github.com/bash-archive/random.js/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244096961,"owners_count":20397509,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-08T06:41:34.133Z","updated_at":"2025-03-17T19:32:04.247Z","avatar_url":"https://github.com/bash-archive.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🎲 random.js\n[![Build Status](https://github.com/bash/random.js/workflows/Test/badge.svg)](https://github.com/bash/random.js/actions)\n[![Build status](https://ci.appveyor.com/api/projects/status/luxy1c20asdk08at?svg=true)](https://ci.appveyor.com/project/rschmidmeister/random-js)\n[![Coverage Status](https://coveralls.io/repos/github/bash/random.js/badge.svg?branch=tooling)](https://coveralls.io/github/bash/random.js?branch=tooling)\n[![Code Climate](https://codeclimate.com/github/bash/random.js/badges/gpa.svg)](https://codeclimate.com/github/bash/random.js)\n[![NPM](https://img.shields.io/npm/v/@rschmidmeister/random.js.svg)](https://www.npmjs.com/package/@rschmidmeister/random.js)\n![gluten free](https://img.shields.io/badge/gluten-free-green.svg)\n\nA *deterministic random number* generator for node.    \nThis module has some important advantages over other modules:\n\n- Only **400 bytes** in size (without gzip)!\n- **O(1)** complexity\n- **100%** test coverage\n\n## Supported algorithms\n* [Fair Dice Roll](https://www.xkcd.com/221/)\n* [Dilbert Oracle](https://web.archive.org/web/20230305130209/https://dilbert.com/strip/2001-10-25)\n\n## Installation\n\n```bash\nnpm i --save @\u003cdeadname\u003e/random.js\n```\n\n## Usage\n```js\nconst { fairDiceRoll, dilbertOracle } = require('@\u003cdeadname\u003e/random.js')\nconsole.log(fairDiceRoll())\nconsole.log(dilbertOracle())\n```\n\n## Roadmap\nThis project has a very ambitious roadmap\nfor discovering and implementing new algorithms.\n\nWe are working hard to ship new algorithm by these dates.\nNote that these dates are estimates and are thus subject to change.\n\n* Q2 2040: Implement 2 new algorithms.\n* Q4 2050: Implement 5 additional algorithms.\n* Q1 2060: Rewrite this project in Rust.\n* Q3 2070: Delete both the project and its rewrite.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbash-archive%2Frandom.js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbash-archive%2Frandom.js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbash-archive%2Frandom.js/lists"}