commander
15.1.0 · 7 Nov 2026MIT785.6M / weekRepositoryHomepagenpmAtom feed
7.2.0 is the newest release of 7.x.
In short
3 new4 fixed2 changed
Release note
Added
Support for named imports from ECMAScript modules
Add
.cjsto list of expected script file extensionsAllow using option choices and variadic together
Fixed
Replace use of deprecated
process.mainModuleRegression for legacy
command('*')and call when command line includes optionsRegression for
on('command:*', ...)and call when command line includes unknown optionsDisplay best error for combination of unknown command and unknown option (i.e. unknown command)
Changed
Make TypeScript typings tests stricter
Improvements to README and tests
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.