Skip to content

Commit 3d9f848

Browse files
authored
Update README.md
1 parent 5882308 commit 3d9f848

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

README.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
# `ultraflag`
22

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.
44

55
### Features
66

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
1114

1215
### Usage
1316

@@ -24,7 +27,7 @@ console.log(args);
2427
// { _: ['build'], bundle: true, r: true, f: true, a: "value", b: "value", c: 1 }
2528
```
2629

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.
2831

2932
```js
3033
const args = parse(argv, {

0 commit comments

Comments
 (0)