ericcornelissen / depreman

Manage npm deprecations
https://www.npmjs.com/package/depreman
GNU Affero General Public License v3.0
0 stars 0 forks source link

npm CLI option to disable deprecation warnings #9

Open ericcornelissen opened 1 month ago

ericcornelissen commented 1 month ago

The npm CLI has several flags to disable certain things like auditing with --no-audit, the update notifier with --no-update-notifier, and funding messages with --no-fund. Given this project to manage deprecations, it would be useful for users to disable deprecation warnings on the CLI too to reduce noise.

ericcornelissen commented 1 month ago

The proposal in https://github.com/npm/cli/issues/7633 would partially address it, but even then - like --no-audit - I think it would be beneficial to have an --no-deprecations options.