Download Latest Version v14.0.0 source code.tar.gz (228.7 kB)
Email in envelope

Get an email when there's a new version of Commander.js

Home / v14.0.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-05-16 843 Bytes
v14.0.0 source code.tar.gz 2025-05-16 228.7 kB
v14.0.0 source code.zip 2025-05-16 306.8 kB
Totals: 3 Items   536.3 kB 0

Added

  • support for groups of options and commands in the help using low-level .helpGroup() on Option and Command, and higher -level .optionsGroup() and .commandsGroup() which can be used in chaining way to specify group title for following option s/commands (#2328)
  • support for unescaped negative numbers as option-arguments and command-arguments (#2339)
  • TypeScript: add parseArg property to Argument class (#2359)

Fixed

  • remove bogus leading space in help when option has default value but not a description (#2348)
  • .configureOutput() now makes copy of settings instead of modifying in-place, fixing side-effects (#2350)

Changed

  • Breaking: Commander 14 requires Node.js v20 or higher
  • internal refactor of Help class adding .formatItemList() and .groupItems() methods (#2328)
Source: README.md, updated 2025-05-16