Packages

commander

15.1.0 · 7 Nov 2026MIT785.6M / weekRepositoryHomepagenpmAtom feed

Your version

8.2.0

10 Sep 2021Where it was published

8.3.0 is the newest release of 8.x.

In short

1 breaking2 new1 changed

  • Breaking

    TypeScript declaration of unimplemented Option method argumentRejected

Release note

Added

  • .showSuggestionAfterError() to show suggestions after unknown command or unknown option

  • Add Option support for values from environment variables using .env()

Changed

  • Show error for unknown global option before subcommand (rather than just help)

Removed

  • Breaking

    TypeScript declaration of unimplemented Option method argumentRejected

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.