meow
14.1.0 · 20 Feb 2026MIT50.6M / weekRepositoryHomepagenpmAtom feed
47 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 14.x · latest line
14.1.0
20 Feb 2026- 13.x
13.2.0
6 Feb 2024Add
helpIndentoption (#241) e9a55cd
- 12.x
12.0.0
2 May 2023- breaking
As a reminder, Meow continues to require ESM. For TypeScript users, this includes having
"module": "node16", "moduleResolution": "node16"in your tsconfig.
Breaking
- breaking
- breaking
Rename
aliasflag option toshortFlag(#225) 14e870dShort flag is a more correct term for what
aliaswas previously used for. We now have a separatealiasesoption for actual aliases.
- breaking
As a reminder, Meow continues to require ESM. For TypeScript users, this includes having
"module": "node16", "moduleResolution": "node16"in your tsconfig.
Improvements
Add error when
flag.defaultisn't a valid choice (#231) b2d7ce7Don't indent single line
help/descriptiontext (#232) a5d15e8
- 11.x
- 10.x
10.0.0
5 May 2021- breaking
This package is now pure ESM. Please read this.
- breaking
You must now pass in the
importMetaoption someowcan find your package.json:
Breaking
- breaking
- breaking
This package is now pure ESM. Please read this.
- breaking
You must now pass in the
importMetaoption someowcan find your package.json:
const cli = meow(…, { + importMeta: import.meta });Previously,
meowused some tricks to infer the location of your package.json, but this no longer works in ESM.- 9.x
- 8.x
8.1.2
7 Jan 20218.1.0
25 Dec 2020Add
allowUnknownFlagsoptions (#169) a27ff12
- 7.x
- 6.x
6.1.1
2 May 2020Only updates dependencies, nothing else changes.
6.0.0
7 Dec 2019- breaking
Require Node.js 8 cd635d4
Breaking
- breaking
Require Node.js 8 cd635d4
- breaking
Remove flag's aliases from the
flagsproperty (#108) f36715c - breaking
Only consider enabling autoHelp/autoVersion in case there is only one argument in
process.argv(#114) cd29865 - breaking
Switch from
loud-rejectiontohard-rejectionf60c26e
Enhancements
Add
hardRejectionoption 2bcfee7
- 5.x
5.0.0
25 Apr 2018- removed
Drops support for Node.js 4
Switches the argument parser from
minimist, which is no longer maintained, toyargs-parser. It should be fully compatible, but let us know if something breaks.
- 4.x
4.0.1
25 Apr 20184.0.0
26 Nov 2017- breaking
Requires Node.js 4 or higher.
- removed
Removed support for using an array in the
helpoption. Just use a template literal. c80321d - removed
Removed support for the
pkgoption accepting a string. 2d4d890
Meow 4 is finally out ✨
Highlights
- breaking
Requires Node.js 4 or higher.
Changed how
minimistoptions are specified. (See more below) 43401c3 554119bDisabled type inference by default. It can lead to some surprising behavior. Can be enabled again with the
inferTypeoption. 1662881- removed
Removed support for using an array in the
helpoption. Just use a template literal. c80321d - removed
Removed support for the
pkgoption accepting a string. 2d4d890 - removed
Removed support for setting the
helpandversionoptions tofalse. Instead, use the newautoHelpandautoVersionoptions. 59dda7a Uses exit code 2 when manually calling
cli.showHelp()now. 6a32bbc
Changed how
minimistoptions are specifiedIn Meow v3 you specified
minimistoptions top-level just like documented in theminimistreadme. Now you specify them in aflagsoption, grouped by flag name instead of option type.Before
const cli = meow( ` Help text `, { boolean: [ 'unicorn' ], string: [ 'fooBar' ], alias: { u: 'unicorn' }, default: { foobar: 'foo' } } });After
const cli = meow( ` Help text `, flags: { unicorn: { type: 'boolean', alias: 'u' }, fooBar: { type: 'string', default: 'foo' } } });I would strongly recommend specifying the
typeproperty whenever possible to reduce CLI argument parsing ambiguity.- 3.x
- 2.x
- 1.x
1.0.0
12 Oct 2014- 0.0.x
0.0.0
24 Jan 2013