{"id":20806943,"url":"https://github.com/bddjr/webcrypto-random-int","last_synced_at":"2026-04-17T19:31:43.718Z","repository":{"id":229141821,"uuid":"775896034","full_name":"bddjr/webcrypto-random-int","owner":"bddjr","description":"🚀Like golang, get crypto random integer or bigint.🔐","archived":false,"fork":false,"pushed_at":"2024-04-04T05:21:52.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-09T18:59:52.789Z","etag":null,"topics":["crypto","randint","random","random-int","random-integers","randomint","webcrypto"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/webcrypto-random-int","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bddjr.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2024-03-22T09:05:16.000Z","updated_at":"2024-12-06T16:11:32.000Z","dependencies_parsed_at":"2024-03-22T22:50:04.273Z","dependency_job_id":"f438ff4f-d984-4bcd-bb24-4dda70d0a366","html_url":"https://github.com/bddjr/webcrypto-random-int","commit_stats":null,"previous_names":["bddjr/web-crypto-random-int","bddjr/webcrypto-random-int"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bddjr/webcrypto-random-int","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bddjr%2Fwebcrypto-random-int","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bddjr%2Fwebcrypto-random-int/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bddjr%2Fwebcrypto-random-int/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bddjr%2Fwebcrypto-random-int/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bddjr","download_url":"https://codeload.github.com/bddjr/webcrypto-random-int/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bddjr%2Fwebcrypto-random-int/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31943256,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T17:29:20.459Z","status":"ssl_error","status_checked_at":"2026-04-17T17:28:47.801Z","response_time":62,"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":["crypto","randint","random","random-int","random-integers","randomint","webcrypto"],"created_at":"2024-11-17T19:29:00.355Z","updated_at":"2026-04-17T19:31:43.698Z","avatar_url":"https://github.com/bddjr.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# webcrypto-random-int\n\nLike golang, get crypto random integer or bigint.\n\n## NPM\n```\nnpm i webcrypto-random-int --save-dev\n```\n\n## Example\n```js\nimport CryptoRandInt from \"webcrypto-random-int\";\n\nconsole.log(\"canIUse \" + CryptoRandInt.canIUse);\nif (CryptoRandInt.canIUse) {\n  console.log(CryptoRandInt.numInt(62));\n  console.log(CryptoRandInt.bigInt(2n ** 128n));\n  console.log(CryptoRandInt.str(\n    32,\n    \"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\"\n  ));\n}\n```\n```\ncanIUse true\n53\n216521706795757442119767567038153766458\nSK2jwNqt3xvP1zuSwJt7CcxAI4T2GYbA\n```\n\n## Test\n\n\u003chttps://bddjr.github.io/webcrypto-random-int/example/example.html\u003e\n\n```\nnpm -g i live-server\nnpm run example\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbddjr%2Fwebcrypto-random-int","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbddjr%2Fwebcrypto-random-int","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbddjr%2Fwebcrypto-random-int/lists"}