{"id":15664920,"url":"https://github.com/phryneas/ts-version","last_synced_at":"2025-05-06T19:42:56.742Z","repository":{"id":54121473,"uuid":"521571179","full_name":"phryneas/ts-version","owner":"phryneas","description":"A little utility type package that allows you to access the current TypeScript version from your types.","archived":false,"fork":false,"pushed_at":"2022-08-05T12:26:06.000Z","size":5,"stargazers_count":16,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-31T02:13:18.408Z","etag":null,"topics":["library"],"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/phryneas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-08-05T09:01:06.000Z","updated_at":"2024-08-31T04:30:33.000Z","dependencies_parsed_at":"2022-08-13T07:00:51.124Z","dependency_job_id":null,"html_url":"https://github.com/phryneas/ts-version","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phryneas%2Fts-version","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phryneas%2Fts-version/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phryneas%2Fts-version/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phryneas%2Fts-version/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phryneas","download_url":"https://codeload.github.com/phryneas/ts-version/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252755802,"owners_count":21799369,"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":["library"],"created_at":"2024-10-03T13:44:32.637Z","updated_at":"2025-05-06T19:42:56.719Z","avatar_url":"https://github.com/phryneas.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `@phryneas/ts-version`\n\nA little utility type package that allows you to access the current TypeScript version from your types.\n\n```ts\nimport { TSVersion } from \"@phryneas/ts-version\";\n\ntype Version = `${TSVersion.Major}.${TSVersion.Minor}`;\n\ntype VersionDependentType = TSVersion.AtLeast\u003c4, 7\u003e extends true\n  ? \"we're in the future!\"\n  : \"it's the stone age!\";\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphryneas%2Fts-version","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphryneas%2Fts-version","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphryneas%2Fts-version/lists"}