{"id":51143785,"url":"https://github.com/usebarekey/runtime-checker","last_synced_at":"2026-06-26T01:02:24.907Z","repository":{"id":363969000,"uuid":"1265780109","full_name":"usebarekey/runtime-checker","owner":"usebarekey","description":"Detect minimum runtime versions required by JavaScript and TypeScript codebases","archived":false,"fork":false,"pushed_at":"2026-06-11T05:37:43.000Z","size":378,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-06-11T06:25:10.904Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/usebarekey.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-11T04:32:25.000Z","updated_at":"2026-06-11T05:31:45.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/usebarekey/runtime-checker","commit_stats":null,"previous_names":["usebarekey/runtime-checker"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/usebarekey/runtime-checker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usebarekey%2Fruntime-checker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usebarekey%2Fruntime-checker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usebarekey%2Fruntime-checker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usebarekey%2Fruntime-checker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/usebarekey","download_url":"https://codeload.github.com/usebarekey/runtime-checker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usebarekey%2Fruntime-checker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34798183,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-25T02:00:05.521Z","response_time":101,"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":"2026-06-26T01:02:22.575Z","updated_at":"2026-06-26T01:02:24.873Z","avatar_url":"https://github.com/usebarekey.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# runtime-checker\n\nFind the minimum runtime version needed for a JavaScript or TypeScript codebase.\n\nIt parses files with Oxc and checks runtime APIs, JavaScript syntax, module format, and native TypeScript usage. It can report requirements for Node.js, Deno, Bun, Safari, Chromium, and Firefox.\n\n## install\n\n```sh\nnpm install runtime-checker\npnpm add runtime-checker\nbun add runtime-checker\ndeno add npm:runtime-checker\n```\n\n## usage\n\n```sh\nruntime-checker \u003cdir\u003e\n```\n\nFor app compatibility, scan the code you ship. For bundled apps, that usually means the build output, not just `src`.\n\n## options\n\n```sh\nruntime-checker \u003cdir\u003e --summary\nruntime-checker \u003cdir\u003e --runtime node\nruntime-checker \u003cdir\u003e --inspect Symbol.asyncDispose\nruntime-checker \u003cdir\u003e --fix\n```\n\n- `--summary` prints only the result panel.\n- `--runtime \u003call|node|deno|bun|safari|chrome|firefox\u003e` limits output to one target.\n- `--inspect \u003cfeature\u003e` prints every detection for a feature.\n- `--fix` updates `package.json` `engines.node` when the detected Node.js version is not satisfied.\n\n## detects\n\n- Runtime APIs such as `fetch`, `Temporal`, `fs.cp`, `sqlite.DatabaseSync`, and `Symbol.asyncDispose`.\n- JavaScript syntax such as optional chaining, nullish coalescing, ESM, `await using`, and native TypeScript support.\n- Node.js `engines.node` mismatches.\n\n## output\n\n```txt\nFinished in 665ms using oxc (ast parsing) after scanning 307k lines of code.\n\nRuntimes\n- Node.js 24.0.0\n- Deno 2.8.0\n- Bun 1.3.0\n\nBrowsers\n- Safari 26.0.0\n- Chromium 149.0.0\n- Firefox 141.0.0\n```\n\nUse `--inspect \u003cfeature\u003e` when you want to see every file and location that caused a requirement.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fusebarekey%2Fruntime-checker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fusebarekey%2Fruntime-checker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fusebarekey%2Fruntime-checker/lists"}