Quickly scan for CLI flags and arguments
@types/mri
:bow:Migrate from TravisCI to GitHub Actions (#16): 908bbfd Thank you @maraisr
Update benchmark candidates' versions; save results: ca8baaa Everything is pinned to the latest version (as of this release).
"module"
package entry: dda3343src
directory with bundt
: 81d65b6devDependency
versions: fcb0555, b0b8f8edefault
has boolean value (#8): 94f8c09
Thank you @marvinhagemeister for reporting
[email protected]
for benchmark comparisonThe core of mri
has been maintained – improved, in fact – but I applied my learnings over the last 12 months. Since mri
was (one of) my first performance-oriented libraries, I am very pleased with the 70% performance gain while maintaining no breaking changes~! 🙌
# Node v10.13.0
minimist x 324,469 ops/sec ±1.20% (96 runs sampled)
mri (prev) x 917,360 ops/sec ±1.22% (95 runs sampled)
mri x 1,611,167 ops/sec ±0.22% (96 runs sampled)
nopt x 920,029 ops/sec ±1.13% (97 runs sampled)
yargs-parser x 39,542 ops/sec ±1.14% (95 runs sampled)
General fixes that match minimist
behavior:
opts.default
keys within unknown
check (#4)Number
cast before moving value into _
arrayBoolean
values & String
castingminimist