Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

🐦 Check for deprecated packages

License

NotificationsYou must be signed in to change notification settings

KID-joker/npm-deprecated-check

Repository files navigation

Check for deprecated packages

Preview

Requirements

Since version 1.4.0,npm-deprecated-check requires Node.js 18 or higher.

Install

npm install -g npm-deprecated-check

Features

  • Check the packages of current project, global or specified is deprecated.
  • According to the version range of lockfile and package.json.
  • Recommend alternative packages through OpenAI.
  • Additionally checks if the running node version reached End Of Life.
  • Return the minimum upgradable version.
  • Check if the current environment meets the Node.js version range required for dependency operation.

Usage

Usage: ndc<command> [options]Options:  -V, --version                    output the version number  -h, --help                       displayhelpforcommandCommands:  current [options]                check the packages of the current project  global [options]                 check global packages, default: npm  package [options]<packageName>  checkfor specified package  node                             checkif used node version is deprecated (reached End Of Life)  config [options]                 inspect and modify the confighelp [command]                   displayhelpforcommand

OpenAI config:

Options:  --openaiKey<value>       recommend alternative packages via ChatGPT  --openaiModel<value>     ChatGPT model (choices:"gpt-3.5-turbo","gpt-4","gpt-4-turbo","gpt-4o-mini","gpt-4o")  --openaiBaseURL<value>   override the default base URLfor the API

Forcurrent:

Options:  --registry<value>        specify registry URL, default: https://registry.npmjs.org/  --ignore<value>          ignore specific packages, example: request,tslint  --failfastexit the programif it has been deprecated  --deep                    deep inspectionfor monorepo projects

Forglobal:

Options:  -m, --manager<value>      check specified package manager (choices:"npm","yarn","pnpm")  --registry<value>        specify registry URL, default: https://registry.npmjs.org/  --ignore<value>          ignore specific packages, example: request,tslint  --failfastexit the programif it has been deprecated

Forpackage:

  -r, --range<value>       check specified versions  --registry<value>        specify registry URL, default: https://registry.npmjs.org/  --failfastexit the programif it has been deprecated

You can also save them to global configuration:

Usage: ndc config [options]inspect and modify the configOptions:  -g, --get<path>          get value from option  -s, --set<path><value>set option value  -d, --delete<path>       delete option from config  -l, --list                list all options

The path should beopenaiKey,openaiModel,openaiBaseURL.

Credits

npm-deprecated-check is inspired bycheck-is-deprecated.

About

🐦 Check for deprecated packages

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors3

  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp