1- # ` ultraflag `
1+ # ` @bomb.sh/args `
22
3- A <1kB library for parsing CLI flags. Inspired by Deno's ` std ` [ ` flags ` ] ( https://github.com/denoland/deno_std /blob/main/flags/mod .ts ) module.
3+ A <1kB library for parsing CLI flags. Inspired by Deno's ` std/cli ` [ ` parseArgs ` ] ( https://github.com/denoland/std /blob/main/cli/parse_args .ts ) module.
44
55### Features
66
@@ -17,7 +17,7 @@ A <1kB library for parsing CLI flags. Inspired by Deno's `std` [`flags`](https:/
1717Basic usage does not require any configuration.
1818
1919``` js
20- import { parse } from " ultraflag " ;
20+ import { parse } from " @bomb.sh/args " ;
2121
2222// my-cli build --bundle -rf --a value --b=value --c 1
2323const argv = process .argv .slice (2 );
@@ -42,9 +42,13 @@ const args = parse(argv, {
4242## Benchmarks
4343
4444```
45- mri x 1,650,986 ops/sec ±0.32% (97 runs sampled)
46- ultraflag x 1,407,191 ops/sec ±0.38% (99 runs sampled)
47- minimist x 383,506 ops/sec ±0.28% (99 runs sampled)
48- node:util x 320,953 ops/sec ±0.35% (98 runs sampled)
49- yargs-parser x 31,874 ops/sec ±1.32% (92 runs sampled)
45+ mri x 1,650,986 ops/sec ±0.32% (97 runs sampled)
46+ @bomb.sh/args x 1,407,191 ops/sec ±0.38% (99 runs sampled)
47+ minimist x 383,506 ops/sec ±0.28% (99 runs sampled)
48+ node:util x 320,953 ops/sec ±0.35% (98 runs sampled)
49+ yargs-parser x 31,874 ops/sec ±1.32% (92 runs sampled)
5050```
51+
52+ ## Acknowledgements
53+
54+ This package was previously published as ` ultraflag ` up until ` v0.2.3 ` , when it was transferred to ` @bomb.sh/args ` .
0 commit comments