{"id":22367724,"url":"https://github.com/hugojosefson/deno-semver-version","last_synced_at":"2026-05-01T10:31:52.027Z","repository":{"id":66830166,"uuid":"514841150","full_name":"hugojosefson/deno-semver-version","owner":"hugojosefson","description":"Web service for finding latest release of a repo, from a semver range.","archived":false,"fork":false,"pushed_at":"2025-12-27T17:34:50.000Z","size":57,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-29T15:42:00.347Z","etag":null,"topics":["api","github","latest","range","release","semver","tag","version"],"latest_commit_sha":null,"homepage":"https://semver-version.deno.dev","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/hugojosefson.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":"2022-07-17T12:45:51.000Z","updated_at":"2025-12-27T17:34:53.000Z","dependencies_parsed_at":"2023-02-21T05:45:23.133Z","dependency_job_id":null,"html_url":"https://github.com/hugojosefson/deno-semver-version","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/hugojosefson/deno-semver-version","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugojosefson%2Fdeno-semver-version","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugojosefson%2Fdeno-semver-version/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugojosefson%2Fdeno-semver-version/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugojosefson%2Fdeno-semver-version/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hugojosefson","download_url":"https://codeload.github.com/hugojosefson/deno-semver-version/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugojosefson%2Fdeno-semver-version/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32494270,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["api","github","latest","range","release","semver","tag","version"],"created_at":"2024-12-04T18:20:43.526Z","updated_at":"2026-05-01T10:31:52.014Z","avatar_url":"https://github.com/hugojosefson.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# semver.se.deno.net\n\nWeb service API for finding the latest release of a repo, from a semver range.\n\nSimilar to Matt Andrews'\n[semver-as-a-service](https://github.com/matthew-andrews/semver-as-a-service).\n\n## Usage\n\nMake an HTTP `GET` request to an API endpoint, and get the relevant version as a\n`text/plain` response.\n\n### API Endpoints\n\n#### Latest version\n\n`GET https://semver.se.deno.net/api/github/:owner/:repo`\n\nFinds the latest git tag for a Github repo.\n\nExamples:\n\n```sh\ncurl -f https://semver.se.deno.net/api/github/ziglang/zig\ncurl -f https://semver.se.deno.net/api/github/denoland/fresh\n```\n\n#### Range\n\n`GET https://semver.se.deno.net/api/github/:owner/:repo/:range`\n\nFinds the latest git tag for a Github repo, that satisfies a specified\n[semantic Versioning range](https://devhints.io/semver).\n\nExamples:\n\n```sh\ncurl -f https://semver.se.deno.net/api/github/ziglang/zig/0.8\ncurl -f https://semver.se.deno.net/api/github/denoland/fresh/1\n```\n\n\u003e When specifying a range, the range must be a valid semver range. It must also\n\u003e be correctly URI encoded.\n\u003e\n\u003e For example, the URI encoding of `\u003e=0.7 \u003c0.8` is `%3E%3D0.7%20%3C0.8`:\n\u003e\n\u003e ```js\n\u003e encodeURIComponent(\"\u003e=0.7 \u003c0.8\");\n\u003e // \"%3E%3D0.7%20%3C0.8\"\n\u003e ```\n\u003e\n\u003e So to get the version of `ziglang/zig` that satisfies the range `\u003e=0.7 \u003c0.8`,\n\u003e you would do:\n\u003e\n\u003e ```sh\n\u003e curl -f https://semver.se.deno.net/api/github/ziglang/zig/\"%3E%3D0.7%20%3C0.8\"\n\u003e ```\n\u003e\n\u003e ...and get:\n\u003e\n\u003e ```\n\u003e 0.7.1\n\u003e ```\n\n## Contributing\n\n### Local development\n\nStart the project:\n\n```\ndeno task dev\n```\n\nThis will watch the project directory and restart as necessary.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhugojosefson%2Fdeno-semver-version","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhugojosefson%2Fdeno-semver-version","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhugojosefson%2Fdeno-semver-version/lists"}