{"id":27493499,"url":"https://github.com/thisoverride/randomuser-js","last_synced_at":"2025-04-17T01:25:52.564Z","repository":{"id":141266551,"uuid":"594632437","full_name":"thisoverride/randomuser-js","owner":"thisoverride","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-12T20:01:27.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-03-11T17:44:08.224Z","etag":null,"topics":["fast-data-random","random-data","random-identity","random-user","random-user-generator"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/thisoverride.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-01-29T06:21:32.000Z","updated_at":"2023-12-12T20:12:12.000Z","dependencies_parsed_at":"2024-01-20T02:08:49.310Z","dependency_job_id":null,"html_url":"https://github.com/thisoverride/randomuser-js","commit_stats":null,"previous_names":["decoratorflow/randomuser-js","thisoverride/randomuser-js"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thisoverride%2Frandomuser-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thisoverride%2Frandomuser-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thisoverride%2Frandomuser-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thisoverride%2Frandomuser-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thisoverride","download_url":"https://codeload.github.com/thisoverride/randomuser-js/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249296882,"owners_count":21246309,"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":["fast-data-random","random-data","random-identity","random-user","random-user-generator"],"created_at":"2025-04-17T01:25:51.952Z","updated_at":"2025-04-17T01:25:52.556Z","avatar_url":"https://github.com/thisoverride.png","language":"TypeScript","readme":"# RandomUser JS\n\nRandomUser-JS is a JavaScript module designed to facilitate the generation of random user data from the RandomUser.me API.\n\n## Overview\nRandomUser-JS allows you to easily retrieve random user data from the RandomUser.me API. Simply call the randomUser() function to obtain a random user object containing various attributes like name, location, contact information, and more.\n\n## Installation\n\nYou can install RandomUser-JS using either yarn or npm :\n\n### Yarn\n```bash\nyarn add randomuser-js\n```\n### Npm\n```bash\nnpm install randomuser-js\n```\n## Usage\n\n```js\nimport randomuserme from 'randomuser-js';\n\n// Generate a random user\nconst user = await randomuserme.randomUser();\n\nconsole.log(user);\n```\n\n### Output\n\n```json\n{\n  \"gender\": \"female\",\n  \"name\": {\n    \"title\": \"Miss\",\n    \"first\": \"Faith\",\n    \"last\": \"Osullivan\"\n  },\n  \"location\": {\n    \"street\": {\n      \"number\": 6100,\n      \"name\": \"Albert Road\"\n    },\n    \"city\": \"Bandon\",\n    \"state\": \"Limerick\",\n    \"country\": \"Ireland\",\n    \"postcode\": 70963,\n    \"coordinates\": {\n      \"latitude\": \"-2.1054\",\n      \"longitude\": \"60.1352\"\n    },\n    \"timezone\": {\n      \"offset\": \"-10:00\",\n      \"description\": \"Hawaii\"\n    }\n  },\n  \"email\": \"faith.osullivan@example.com\",\n  \"login\": {\n    \"uuid\": \"6a419018-a6eb-465c-b6b7-e1437182aa2b\",\n    \"username\": \"heavywolf187\",\n    \"password\": \"poppop\",\n    \"salt\": \"z4SxxWUz\",\n    \"md5\": \"f1502a72ed3488d31652826a7646838b\",\n    \"sha1\": \"ce9bc4bec0e5a596aa49be041e8b2f46e45c6784\",\n    \"sha256\": \"16fe95d7a383c40c39f0d98ffe00244a65790e2935ca3efb2face8f8e5443074\"\n  },\n  \"dob\": {\n    \"date\": \"1962-05-19T22:18:27.526Z\",\n    \"age\": 61\n  },\n  \"registered\": {\n    \"date\": \"2006-03-22T13:50:14.850Z\",\n    \"age\": 17\n  },\n  \"phone\": \"011-516-6175\",\n  \"cell\": \"081-186-9802\",\n  \"id\": {\n    \"name\": \"PPS\",\n    \"value\": \"2526235T\"\n  },\n  \"picture\": {\n    \"large\": \"https://randomuser.me/api/portraits/women/43.jpg\",\n    \"medium\": \"https://randomuser.me/api/portraits/med/women/43.jpg\",\n    \"thumbnail\": \"https://randomuser.me/api/portraits/thumb/women/43.jpg\"\n  },\n  \"nat\": \"IE\"\n}\n```\n\n## Methods\nReturns a single random user identity.\n```js\nRandomUserMe.randomUser()\n```\nReturns a single random user identity filtered by country nationality.\n```js\nRandomUserMe.randomUserByNationality()\n```\nFilters random user identities by specified attributes.\n```js\nRandomUserMe.randomAttributeFilter()\n```\nReturns multiple random user identities (maximum 5000).\n```js\nRandomUserMe.manyRandomUser()\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthisoverride%2Frandomuser-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthisoverride%2Frandomuser-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthisoverride%2Frandomuser-js/lists"}