{"id":28169177,"url":"https://github.com/kid-joker/npm-deprecated-check","last_synced_at":"2025-05-15T16:16:06.917Z","repository":{"id":65388553,"uuid":"566382879","full_name":"KID-joker/npm-deprecated-check","owner":"KID-joker","description":"🐦 Check for deprecated packages","archived":false,"fork":false,"pushed_at":"2025-05-15T15:58:35.000Z","size":429,"stargazers_count":36,"open_issues_count":5,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-15T16:16:06.150Z","etag":null,"topics":["ai-recommend","cli","cli-tool","dependencies","deprecated","openai"],"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/KID-joker.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}},"created_at":"2022-11-15T15:01:17.000Z","updated_at":"2025-05-15T15:58:33.000Z","dependencies_parsed_at":"2024-11-12T01:18:32.978Z","dependency_job_id":"7cb9ec57-0d03-47e6-ba37-6ce929675e1c","html_url":"https://github.com/KID-joker/npm-deprecated-check","commit_stats":{"total_commits":55,"total_committers":2,"mean_commits":27.5,"dds":0.2909090909090909,"last_synced_commit":"e4a7f403a9d41978ee5817891a90e0b81e4e7432"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KID-joker%2Fnpm-deprecated-check","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KID-joker%2Fnpm-deprecated-check/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KID-joker%2Fnpm-deprecated-check/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KID-joker%2Fnpm-deprecated-check/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KID-joker","download_url":"https://codeload.github.com/KID-joker/npm-deprecated-check/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254374545,"owners_count":22060614,"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":["ai-recommend","cli","cli-tool","dependencies","deprecated","openai"],"created_at":"2025-05-15T16:16:04.034Z","updated_at":"2025-05-15T16:16:06.910Z","avatar_url":"https://github.com/KID-joker.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e🐦 npm-deprecated-check\u003c/h1\u003e\n\u003cp align=\"center\"\u003eCheck for deprecated packages\u003c/p\u003e\n\n## Preview\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"./assets/preview.png\" /\u003e\u003c/p\u003e\n\n## Install\n\n```bash\nnpm install -g npm-deprecated-check\n```\n\n## Features\n\n- Check the packages of current project, global or specified is deprecated.\n- According to the version range of lockfile and package.json.\n- Recommend alternative packages through OpenAI.\n- Additionally checks if the running node version reached End Of Life.\n\n## Usage\n\n```bash\nUsage: ndc \u003ccommand\u003e [options]\n\nOptions:\n  -V, --version                    output the version number\n  -h, --help                       display help for command\n\nCommands:\n  current [options]                check the packages of the current project\n  global [options]                 check global packages, default: npm\n  package [options] \u003cpackageName\u003e  check for specified package\n  node                             check if used node version is deprecated (reached End Of Life)\n  config [options]                 inspect and modify the config\n  help [command]                   display help for command\n```\n\n`OpenAI` config:\n\n```bash\nOptions:\n  --openaiKey \u003cvalue\u003e       recommend alternative packages via ChatGPT\n  --openaiModel \u003cvalue\u003e     ChatGPT model (choices: \"gpt-3.5-turbo\", \"gpt-4\", \"gpt-4-turbo\", \"gpt-4o-mini\", \"gpt-4o\")\n  --openaiBaseURL \u003cvalue\u003e   override the default base URL for the API\n```\n\nFor `current`:\n\n```bash\nOptions:\n  --registry \u003cvalue\u003e        specify registry URL, default: https://registry.npmjs.org/\n  --ignore \u003cvalue\u003e          ignore specific packages, example: request,tslint\n  --failfast                exit the program if it has been deprecated\n```\n\nFor `global`:\n\n```bash\nOptions:\n  -m, --manager \u003cvalue\u003e      check specified package manager (choices: \"npm\", \"yarn\", \"pnpm\")\n  --registry \u003cvalue\u003e        specify registry URL, default: https://registry.npmjs.org/\n  --ignore \u003cvalue\u003e          ignore specific packages, example: request,tslint\n  --failfast                exit the program if it has been deprecated\n```\n\nFor `package`:\n\n```bash\n  -r, --range \u003cvalue\u003e       check specified versions\n  --registry \u003cvalue\u003e        specify registry URL, default: https://registry.npmjs.org/\n  --failfast                exit the program if it has been deprecated\n```\n\nYou can also save them to global configuration:\n\n```bash\nUsage: ndc config [options]\n\ninspect and modify the config\n\nOptions:\n  -g, --get \u003cpath\u003e          get value from option\n  -s, --set \u003cpath\u003e \u003cvalue\u003e  set option value\n  -d, --delete \u003cpath\u003e       delete option from config\n  -l, --list                list all options\n```\n\nThe path should be `openaiKey`, `openaiModel`, `openaiBaseURL`.\n\n## Credits\n\n`npm-deprecated-check` is inspired by [`check-is-deprecated`](https://github.com/awesome-cli/check-is-deprecated).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkid-joker%2Fnpm-deprecated-check","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkid-joker%2Fnpm-deprecated-check","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkid-joker%2Fnpm-deprecated-check/lists"}