{"id":18323618,"url":"https://github.com/randplus/0to1","last_synced_at":"2026-02-01T09:31:55.578Z","repository":{"id":255352600,"uuid":"849320708","full_name":"randplus/0to1","owner":"randplus","description":"A package that adds functions for random.","archived":false,"fork":false,"pushed_at":"2025-08-01T14:46:43.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-16T15:14:06.649Z","etag":null,"topics":["0","1","nodejs","npm","package","random"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@randplus/0to1","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/randplus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-08-29T11:43:52.000Z","updated_at":"2025-08-01T14:46:47.000Z","dependencies_parsed_at":"2024-08-29T13:30:01.102Z","dependency_job_id":"aae4c701-79ae-4a26-9bf0-77841163a57d","html_url":"https://github.com/randplus/0to1","commit_stats":null,"previous_names":["otoneko1102/randplus-0to1","randplus/0to1"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/randplus/0to1","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/randplus%2F0to1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/randplus%2F0to1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/randplus%2F0to1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/randplus%2F0to1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/randplus","download_url":"https://codeload.github.com/randplus/0to1/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/randplus%2F0to1/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28975227,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T08:16:14.655Z","status":"ssl_error","status_checked_at":"2026-02-01T08:06:51.373Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["0","1","nodejs","npm","package","random"],"created_at":"2024-11-05T18:28:53.965Z","updated_at":"2026-02-01T09:31:55.574Z","avatar_url":"https://github.com/randplus.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @randplus/0to1\nIn theory, the random functions in this package can also output 1.\u003cbr\u003e\nThis package is included in '[randplus](https://www.npmjs.com/package/randplus)'.\n\n###### Teams\n\u003cimg src=\"https://raw.githubusercontent.com/randplus/docs/main/img/randplus.png\" alt=\"OTONEKO.CAT\" style=\"display: block; width: auto; height: 100px;\"/\u003e\n\n## Usage\n```js\nconst random = require('@randplus/0to1');\n\nconsole.log(random.versions); // ['v1', 'v2']\nconsole.log(random()) // Use latest random function.\nconsole.log(random(1)); // Use v1 random function.\nconsole.log(random('1')); // Use v1 random function.\nconsole.log(random('v1')); // Use v1 random function.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frandplus%2F0to1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frandplus%2F0to1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frandplus%2F0to1/lists"}