{"id":23694433,"url":"https://github.com/commanderredyt/simple-identicon","last_synced_at":"2025-04-11T11:24:17.682Z","repository":{"id":268517639,"uuid":"904636456","full_name":"CommanderRedYT/simple-identicon","owner":"CommanderRedYT","description":"A small simple identicon generator","archived":false,"fork":false,"pushed_at":"2025-03-24T23:34:23.000Z","size":956,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-25T07:51:07.617Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/CommanderRedYT.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":"2024-12-17T09:19:37.000Z","updated_at":"2025-02-25T19:19:05.000Z","dependencies_parsed_at":"2024-12-17T09:25:44.454Z","dependency_job_id":"8232ae0e-a594-4a90-ac8a-bea862f39d79","html_url":"https://github.com/CommanderRedYT/simple-identicon","commit_stats":null,"previous_names":["commanderredyt/simple-identicon"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CommanderRedYT%2Fsimple-identicon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CommanderRedYT%2Fsimple-identicon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CommanderRedYT%2Fsimple-identicon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CommanderRedYT%2Fsimple-identicon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CommanderRedYT","download_url":"https://codeload.github.com/CommanderRedYT/simple-identicon/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248382615,"owners_count":21094561,"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":[],"created_at":"2024-12-30T04:26:24.254Z","updated_at":"2025-04-11T11:24:17.657Z","avatar_url":"https://github.com/CommanderRedYT.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# simple-identicon\n\n## Dependencies\n\n- [canvas](https://www.npmjs.com/package/canvas) - A Cairo-backed Canvas implementation for Node.js.\n\n### Notes on `canvas`\n\nFor canvas to work, please check the [installation guide](https://www.npmjs.com/package/canvas#compiling) for your platform.\n\n## Installation\n\n```bash\nnpm install simple-identicon\n\n# or\n\nyarn add simple-identicon\n```\n\n```javascript\nconst { generateIdenticon } = require('simple-identicon');\n\nconst myValue = 'my-value'; // Can be a username for example\n\nconst buffer = generateIdenticon(myValue);\n\n// Use the buffer\n```\n\nThere are also some helpers for most common use cases:\n\n```javascript\nconst { saveIdenticon, generateIdenticonDataUrl } = require('simple-identicon');\n\nconst myValue = 'my-value'; // Can be a username for example\n\n// Save the identicon to a file\nsaveIdenticon(myValue, 'my-identicon.png');\n\n// Or data URL\n\nconst dataUrl = generateIdenticonDataUrl(myValue);\n\n// Use the data URL on the browser\nconst img = document.createElement('img');\n\nimg.src = dataUrl;\n\ndocument.body.appendChild(img);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommanderredyt%2Fsimple-identicon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcommanderredyt%2Fsimple-identicon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommanderredyt%2Fsimple-identicon/lists"}