{"id":19065924,"url":"https://github.com/linhub15/short-guid","last_synced_at":"2026-04-17T13:31:47.144Z","repository":{"id":54699964,"uuid":"522614029","full_name":"linhub15/short-guid","owner":"linhub15","description":"Typescript port of CSharpVitamins.ShortGuid","archived":false,"fork":false,"pushed_at":"2023-11-20T17:21:26.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-22T03:15:45.173Z","etag":null,"topics":["deno","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/linhub15.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}},"created_at":"2022-08-08T15:51:26.000Z","updated_at":"2022-12-09T03:05:27.000Z","dependencies_parsed_at":"2023-01-25T17:00:16.194Z","dependency_job_id":null,"html_url":"https://github.com/linhub15/short-guid","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/linhub15/short-guid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linhub15%2Fshort-guid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linhub15%2Fshort-guid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linhub15%2Fshort-guid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linhub15%2Fshort-guid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/linhub15","download_url":"https://codeload.github.com/linhub15/short-guid/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linhub15%2Fshort-guid/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31931252,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T12:37:54.787Z","status":"ssl_error","status_checked_at":"2026-04-17T12:37:25.095Z","response_time":62,"last_error":"SSL_read: 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":["deno","typescript"],"created_at":"2024-11-09T00:53:38.487Z","updated_at":"2026-04-17T13:31:47.124Z","avatar_url":"https://github.com/linhub15.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Typescript port of CSharpVitamins.ShortGuid\n\nC# Equivalent \u003chttps://github.com/csharpvitamins/CSharpVitamins.ShortGuid\u003e\n\nUse this if you need to generate ShortGuids in JS and want to convert\nthem back to `Guid` using CSharpVitamins.ShortGuid.\n\nCan only be used with Deno for now.\n\n### Usage - Deno\n\n```typescript\nimport { decode, encode } from \"https://raw.githubusercontent.com/linhub15/short-guid/main/mod.ts\";\n\nconsole.log(encode()); // 00amyWGct0y_ze4lIsj2Mw\nconsole.log(decode(shortGuid)); // \"c9a646d3-9c61-4cb7-bfcd-ee2522c8f633\"\n```\n\n### Tests\n\n`deno test`\n\n### Benchmarks\n\n`deno bench`\n\n```\ncpu: Intel(R) Core(TM) i5-9600K CPU @ 3.70GHz\nruntime: deno 1.28.3 (x86_64-unknown-linux-gnu)\n\nbenchmark      time (avg)             (min … max)       p75       p99      p995\n------------------------------------------------- -----------------------------\nencode()     6.18 µs/iter     (6.01 µs … 6.66 µs)   6.25 µs   6.66 µs   6.66 µs\ndecode()     1.42 µs/iter     (1.37 µs … 1.62 µs)   1.42 µs   1.62 µs   1.62 µs\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinhub15%2Fshort-guid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinhub15%2Fshort-guid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinhub15%2Fshort-guid/lists"}