{"id":16910002,"url":"https://github.com/timche/cs-doppler-phase","last_synced_at":"2026-05-15T22:01:37.347Z","repository":{"id":231149087,"uuid":"781084801","full_name":"timche/cs-doppler-phase","owner":"timche","description":"Get the phase of a Counter-Strike 2 Doppler skin","archived":false,"fork":false,"pushed_at":"2025-07-24T08:00:36.000Z","size":66,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-09T04:05:25.188Z","etag":null,"topics":[],"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/timche.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-04-02T18:07:00.000Z","updated_at":"2025-07-24T07:59:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"eb057e44-305d-44bf-b556-ddbeeedf2580","html_url":"https://github.com/timche/cs-doppler-phase","commit_stats":null,"previous_names":["timche/cs-doppler-phase"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/timche/cs-doppler-phase","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timche%2Fcs-doppler-phase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timche%2Fcs-doppler-phase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timche%2Fcs-doppler-phase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timche%2Fcs-doppler-phase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timche","download_url":"https://codeload.github.com/timche/cs-doppler-phase/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timche%2Fcs-doppler-phase/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271378617,"owners_count":24749188,"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","status":"online","status_checked_at":"2025-08-20T02:00:09.606Z","response_time":69,"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-10-13T18:58:41.390Z","updated_at":"2026-05-15T22:01:37.283Z","avatar_url":"https://github.com/timche.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cs-doppler-phase\n\n\u003e Get the phase of a Counter-Strike Doppler skin\n\nBased on `icon_url` of an item from Steam.\n\n## Install\n\n```sh\nnpm install cs-doppler-phase\n```\n\n## Usage\n\n```ts\nimport { getDopplerPhase } from \"cs-doppler-phase\";\n\ngetDopplerPhase(\"-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXH5ApeO4YmlhxYQknCRvCo04DEVlxkKgpovbSsLQJfxPrMfipP7dezhr-KmsjwPKvBmm5D19V5i_rEpLPigVC7vCwwOj6rYJjHcAFtN1mB_1TryevvjJTu7p6bwHJjunIhsH6PzRzlgE0YbrA9gaSaVxzAUM53KYio\")\n// =\u003e phase1\n\ngetDopplerPhase(\"test\")\n// =\u003e null\n```\n\n## API\n\n### `getDopplerPhase(iconUrl)`\n\nReturns `Phase 1`, `Phase 2`, `Phase 3`, `Phase 4`, `Ruby`, `Sapphire` or `Black Pearl` if `iconUrl` matches a phase or `null` if not.\n\n#### `iconUrl`\n\nType: `string`\n\nThe `icon_url` of the item from Steam.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimche%2Fcs-doppler-phase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimche%2Fcs-doppler-phase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimche%2Fcs-doppler-phase/lists"}