[READ-ONLY] Mirror of https://github.com/bombshell-dev/args. <1kB CLI flag parser
args args-parser cli command-line command-line-parser node
5

Configure Feed

Select the types of activity you want to include in your feed.

Update README.md

authored by

Nate Moore and committed by
GitHub
(Jan 13, 2025, 9:07 AM -0600) 3d9f8483 58823089

+9 -6
+9 -6
README.md
··· 1 1 # `ultraflag` 2 2 3 - A 730B 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` [`flags`](https://github.com/denoland/deno_std/blob/main/flags/mod.ts) module. 4 4 5 5 ### Features 6 6 7 - - It's very small. 8 - - It's very fast. 9 - - It's type-safe. 10 - - It's simpler (and faster!) than [`parseArgs` from `node:util`](https://nodejs.org/api/util.html#utilparseargsconfig). 7 + ๐Ÿค very small 8 + 9 + ๐Ÿƒ very simple 10 + 11 + ๐Ÿƒ very fast (beats [`node:util`](https://nodejs.org/api/util.html#utilparseargsconfig)) 12 + 13 + ๐Ÿ” strongly typed 11 14 12 15 ### Usage 13 16 ··· 24 27 // { _: ['build'], bundle: true, r: true, f: true, a: "value", b: "value", c: 1 } 25 28 ``` 26 29 27 - Parsing can be configured to ensure arguments are coerced to specific types. 30 + Parsing can be configured to ensure arguments are coerced to specific types, which enhances type safety. 28 31 29 32 ```js 30 33 const args = parse(argv, {