{"id":30180621,"url":"https://github.com/eankeen/ensure","last_synced_at":"2025-08-12T08:01:58.582Z","repository":{"id":57675320,"uuid":"263787322","full_name":"hyperupcall/ensure","owner":"hyperupcall","description":"Ensure you are running a minimum version of Deno, Typescript, or V8","archived":false,"fork":false,"pushed_at":"2023-12-01T09:42:06.000Z","size":48,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-05T06:16:32.224Z","etag":null,"topics":["deno"],"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/hyperupcall.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},"funding":{"github":["hyperupcall"]}},"created_at":"2020-05-14T01:44:51.000Z","updated_at":"2025-02-19T19:20:36.000Z","dependencies_parsed_at":"2023-12-01T10:40:18.287Z","dependency_job_id":null,"html_url":"https://github.com/hyperupcall/ensure","commit_stats":null,"previous_names":["eankeen/ensure"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/hyperupcall/ensure","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperupcall%2Fensure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperupcall%2Fensure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperupcall%2Fensure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperupcall%2Fensure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyperupcall","download_url":"https://codeload.github.com/hyperupcall/ensure/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperupcall%2Fensure/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270024697,"owners_count":24514054,"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-12T02:00:09.011Z","response_time":80,"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":["deno"],"created_at":"2025-08-12T08:01:28.526Z","updated_at":"2025-08-12T08:01:58.546Z","avatar_url":"https://github.com/hyperupcall.png","language":"TypeScript","funding_links":["https://github.com/sponsors/hyperupcall"],"categories":["Modules","基础设施"],"sub_categories":["Online Playgrounds","Assistants","Utils","Deno 源"],"readme":"# ensure\n\n![github ci](https://github.com/hyperupcall/ensure/workflows/Test%20CI/badge.svg?branch=master)\n![github badge](https://img.shields.io/github/license/hyperupcall/ensure)\n![github issues](https://img.shields.io/github/issues/hyperupcall/ensure)\n\nEnsure you are running a minimum version of Deno, Typescript, or V8\n\n\u003e ⚠️ _Warning_ The examples in this README pull from `main`. you may want to \"pin\"\n\u003e to a particular version by using git tags in the URL to direct you at a particular\n\u003e version. For example, to use v1.2.0 of `hyperupcall/ensure`, you would want\n\u003e to import `https://deno.land/x/ensure@v1.2.0/mod.ts`.\n\n## Usage\n\nNote that it hasn't been tested with `rc-1` type release versions _yet_\n\n```ts\nimport { ensure } from 'https://deno.land/x/ensure/mod.ts'\n\nensure({\n  denoVersion: \"1.0.0\",\n  typeScriptVersion: \"3.8\"\n})\n```\n\n### Versions\n\nYou can pin to a specific version. Here are some examples:\n\n```sh\n# deno 1.0.3 and std v0.53.0\nhttps://deno.land/x/ensure/v1.0.3/mod.ts\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feankeen%2Fensure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feankeen%2Fensure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feankeen%2Fensure/lists"}