{"id":17149551,"url":"https://github.com/mohd-akram/simple-id","last_synced_at":"2025-10-16T18:45:16.417Z","repository":{"id":57360249,"uuid":"96026407","full_name":"mohd-akram/simple-id","owner":"mohd-akram","description":"A Node.js library for generating short, user-friendly, random IDs.","archived":false,"fork":false,"pushed_at":"2024-06-25T08:41:31.000Z","size":16,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T03:02:06.021Z","etag":null,"topics":["id","node","nodejs","npm","random"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/simple-id","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/mohd-akram.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-02T13:51:52.000Z","updated_at":"2024-06-25T08:41:32.000Z","dependencies_parsed_at":"2024-06-24T19:45:22.694Z","dependency_job_id":"981acb74-a44f-4c3f-8afc-04ac9e482685","html_url":"https://github.com/mohd-akram/simple-id","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohd-akram%2Fsimple-id","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohd-akram%2Fsimple-id/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohd-akram%2Fsimple-id/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohd-akram%2Fsimple-id/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mohd-akram","download_url":"https://codeload.github.com/mohd-akram/simple-id/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248710438,"owners_count":21149188,"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":["id","node","nodejs","npm","random"],"created_at":"2024-10-14T21:33:25.947Z","updated_at":"2025-10-16T18:45:11.382Z","avatar_url":"https://github.com/mohd-akram.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# simple-id\n\nA library for generating short, user-friendly, random IDs.\n\n## Install\n\n    npm install simple-id\n\n## Usage\n\n```javascript\nconst simpleId = require(\"simple-id\");\nsimpleId();\n```\n\nBy default, an 8-character random ID is generated using a 31-character alphabet\n(`23456789abcdefghjkmnpqrstuvwxyz`) which notably excludes the uppercase\nletters and `01ilo` to avoid ambiguity. This gives about 853 billion possible\npermutations. A different length and/or alphabet can be passed as follows:\n\n```javascript\nsimpleId(9);\nsimpleId(8, \"0123456789abcdef\");\n```\n\n## Implementation\n\nThe implementation uses the cryptographically strong `crypto.getRandomValues()`\nfunction and provides uniformly distributed random IDs. It has no other\ndependencies.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohd-akram%2Fsimple-id","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmohd-akram%2Fsimple-id","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohd-akram%2Fsimple-id/lists"}