Skip to content

Releases: jorgebucaran/getopts

2.3.0

15 Feb 19:14
2.3.0
35dfad8
Compare
Choose a tag to compare
  • Migrate to ES modules (#52).
  • Use GitHub Actions.
  • Migrate tests to Twist.

2.2.3

02 Nov 14:46
c0fde8b
Compare
Choose a tag to compare
  • Add new opts.stopEarly option (#41).

2.2.0

17 Aug 15:37
eb1306d
Compare
Choose a tag to compare
  • Rewrite tests using Testmatrix (#37).
  • Fix bug where boolean options weren't added to the output object (#36).
  • Introduce new opts.string option (#35).

2.1.1

17 Jul 09:07
5badfb8
Compare
Choose a tag to compare
  • Add TypeScript types.

2.0.0

12 Nov 04:27
75e58c8
Compare
Choose a tag to compare
  • Parse - as an operand (generally used to tell a program to read from standard input) (#31).
  • Add new opts.boolean (#30).
  • Optimize the number of times options.unknown is invoked based on the fact that default and boolean options are known (#29).
  • Optimize adding operands after -- (#25).
  • Optimize aliases mapping by avoiding repeated array accesses (#24).
  • Don't mutate options.default (#23).
  • Optimize short flag splitting (#22).
  • Access options.booleans map only once for every short option.

1.0.0

14 Feb 16:34
03c2f80
Compare
Choose a tag to compare

Getopts is a Node.js CLI options parser.