{"id":21707248,"url":"https://github.com/revathskumar/math-random-string","last_synced_at":"2026-04-27T08:31:54.335Z","repository":{"id":139934325,"uuid":"74907977","full_name":"revathskumar/math-random-string","owner":"revathskumar","description":null,"archived":false,"fork":false,"pushed_at":"2016-11-29T18:47:11.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-03T21:26:47.205Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/revathskumar.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,"zenodo":null}},"created_at":"2016-11-27T19:02:32.000Z","updated_at":"2016-11-27T19:02:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"ad10ec73-89c4-4797-9145-c0bb11fbd686","html_url":"https://github.com/revathskumar/math-random-string","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/revathskumar/math-random-string","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/revathskumar%2Fmath-random-string","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/revathskumar%2Fmath-random-string/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/revathskumar%2Fmath-random-string/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/revathskumar%2Fmath-random-string/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/revathskumar","download_url":"https://codeload.github.com/revathskumar/math-random-string/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/revathskumar%2Fmath-random-string/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32329463,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-25T22:16:22.706Z","updated_at":"2026-04-27T08:31:54.320Z","avatar_url":"https://github.com/revathskumar.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Math.random().toString(36)\n\n`Math.random().toString(36)` will produce result of different length in different browsers.\n\nIn `Firefox` it result a string of length `\u003c15` \nIn `Chrome` it results in a string of length `24`.\n\n### Test\n\n```js\ndescribe('Math.random().toString(36)', () =\u003e {\n  it('length should be below 15', () =\u003e {\n    expect(Math.random().toString(36).length).to.be.at.below(15);\n  });\n});\n```\n\n[![Sauce Test Status](https://saucelabs.com/browser-matrix/revathskumar.svg)](https://saucelabs.com/u/revathskumar)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frevathskumar%2Fmath-random-string","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frevathskumar%2Fmath-random-string","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frevathskumar%2Fmath-random-string/lists"}