Releases: jorgebucaran/getopts
Releases · jorgebucaran/getopts
2.3.0
2.2.3
2.2.0
- 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
- Add TypeScript types.
2.0.0
- 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
Getopts is a Node.js CLI options parser.