{"id":49336296,"url":"https://github.com/raiderrobert/shelflife","last_synced_at":"2026-04-27T01:02:11.671Z","repository":{"id":345758746,"uuid":"1187249712","full_name":"raiderrobert/shelflife","owner":"raiderrobert","description":"Check your dependencies and runtimes for end-of-life risk","archived":false,"fork":false,"pushed_at":"2026-03-20T14:19:55.000Z","size":73,"stargazers_count":0,"open_issues_count":10,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-21T06:32:10.342Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/raiderrobert.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-03-20T14:08:16.000Z","updated_at":"2026-03-20T14:19:59.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/raiderrobert/shelflife","commit_stats":null,"previous_names":["raiderrobert/shelflife"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/raiderrobert/shelflife","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raiderrobert%2Fshelflife","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raiderrobert%2Fshelflife/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raiderrobert%2Fshelflife/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raiderrobert%2Fshelflife/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raiderrobert","download_url":"https://codeload.github.com/raiderrobert/shelflife/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raiderrobert%2Fshelflife/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32318417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"ssl_error","status_checked_at":"2026-04-26T23:26:25.802Z","response_time":129,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-04-27T01:02:10.950Z","updated_at":"2026-04-27T01:02:11.624Z","avatar_url":"https://github.com/raiderrobert.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# shelflife\n\nCheck your dependencies and runtimes for end-of-life risk.\n\n- **npm dependency scanning.** Checks every package in your lockfile against the npm registry for deprecation, staleness, and version drift.\n- **Runtime EOL detection.** Finds your Node.js, Python, and Java versions from config files and checks their end-of-life status.\n- **Zero config.** Point it at a directory and go. Optional `.shelflife.toml` for team-wide settings.\n- **CI-ready.** `--fail-on critical` exits non-zero only on deprecated packages or expired runtimes. `--json` for machine-readable output.\n- **Fast.** Single binary, concurrent registry lookups, no runtime dependencies.\n\n## Install\n\nBuild from source:\n\n```bash\ncargo install --path .\n```\n\nOr grab a binary from [GitHub Releases](https://github.com/raiderrobert/shelflife/releases).\n\n## Quick Start\n\n```bash\nshelflife\n```\n\nThat's it. Shelflife scans the current directory, checks your lockfile and runtime config files, and prints a summary:\n\n```\nRuntime EOL\n  [CRITICAL] nodejs 18.19.0  (EOL 2025-04-30 (expired 324 days ago))\n  [WARNING]  python 3.9.18   (EOL 2025-10-05 (200 days left))\n\nnpm Dependencies\n  [OK]       lodash@4.17.21 → 4.17.21\n  [WARNING]  express@4.18.2 → 5.1.0 (1 major version(s) behind)\n  [CRITICAL] request@2.88.2 → 2.88.2 (package is deprecated)\n\nSummary: 49 total, 2 critical, 1 warning, 46 ok\n```\n\n## Usage\n\n```\nshelflife [OPTIONS] [PATH]\n\nArguments:\n  [PATH]  Directory to scan (default: .)\n\nOptions:\n  -c, --config \u003cFILE\u003e        Config file path (default: .shelflife.toml)\n      --threshold-days \u003cN\u003e   Days before EOL to warn (default: 180)\n      --stale-months \u003cN\u003e     Months without update = stale (default: 18)\n      --ignore \u003cPKG,...\u003e     Packages to skip\n      --json                 Output JSON instead of table\n      --fail-on \u003cLEVEL\u003e      Exit 1 on: any (default), critical, none\n  -v, --verbose              Verbose output\n  -h, --help\n  -V, --version\n```\n\n## Configuration\n\nOptional `.shelflife.toml` in your project root:\n\n```toml\nthreshold_days = 180\nstale_months = 18\nignore = [\"some-internal-pkg\"]\nfail_on = \"any\"  # any | critical | none\n```\n\nCLI flags override the config file.\n\n## What It Checks\n\n**npm packages** (from `package-lock.json`):\n- Deprecated packages\n- Major/minor versions behind latest\n- Stale projects (latest version not published in 18+ months)\n\n**Runtimes** (detected from config files):\n| Runtime | Detected from |\n|---------|--------------|\n| Node.js | `.nvmrc`, `.node-version`, `package.json` `engines.node` |\n| Python  | `.python-version`, `runtime.txt`, `pyproject.toml` |\n| Java    | `pom.xml`, `build.gradle` |\n\n## License\n\n[PolyForm Shield 1.0.0](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraiderrobert%2Fshelflife","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraiderrobert%2Fshelflife","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraiderrobert%2Fshelflife/lists"}