yargs
18.2.0 · 20 Sep 2026MIT241.1M / weekRepositoryHomepagenpmAtom feed
16.2.2 is the newest release of 16.x.
In short
5 breaking1 removed7 new
- breaking
Tweaks to ESM/Deno API surface: now exports yargs function by default; getProcessArgvWithoutBin becomes hideBin; types now exported for Deno.
- breaking
find-up replaced with escalade; export map added (limits importable files in Node >= 12); yarser-parser@19.x.x (new decamelize/camelcase implementation).
- breaking
usage: single character aliases are now shown first in help output
- breaking
Rebase helper is no longer provided on yargs instance.
- breaking
Drop support for EOL Node 8
- removed
Drop support for EOL Node 8
Release note
Breaking changes
- breaking
Tweaks to ESM/Deno API surface: now exports yargs function by default; getProcessArgvWithoutBin becomes hideBin; types now exported for Deno.
- breaking
find-up replaced with escalade; export map added (limits importable files in Node >= 12); yarser-parser@19.x.x (new decamelize/camelcase implementation).
- breaking
usage: single character aliases are now shown first in help output
- breaking
Rebase helper is no longer provided on yargs instance.
- breaking
Drop support for EOL Node 8
Features
Adds strictOptions()
helpers: rebase, Parser, applyExtends now blessed helpers
Adds support for ESM and Deno
- removed
Drop support for EOL Node 8
i18n for ESM and Deno
Tweaks to API surface based on user feedback
usage: single char aliases first in help
Bug Fixes