Skip to content

Commit 5882308

Browse files
authored
Update README.md
1 parent 38de83f commit 5882308

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ A 730B library for parsing CLI flags. Inspired by Deno's `std` [`flags`](https:/
66

77
- It's very small.
88
- It's very fast.
9-
- It's a nicer API (and faster!) than [`parseArgs` from `node:util`](https://nodejs.org/api/util.html#utilparseargsconfig).
9+
- It's type-safe.
10+
- It's simpler (and faster!) than [`parseArgs` from `node:util`](https://nodejs.org/api/util.html#utilparseargsconfig).
1011

1112
### Usage
1213

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

26-
Parsing can be configured to ensure values are handled in a certain format.
27+
Parsing can be configured to ensure arguments are coerced to specific types.
2728

2829
```js
2930
const args = parse(argv, {

0 commit comments

Comments
 (0)