Skip to content

Commit 398d014

Browse files
committed
Cut to the chase
1 parent 36c76c3 commit 398d014

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,14 @@
44
55
- Lightweight drop-in replacement for `minimist` and clones.
66
- Small (180 LOC), focused, no dependencies.
7-
- Up to [6x faster](#benchmarks) than alternatives! 🔥
7+
- Up to [6x faster](#benchmarks) than alternatives!
88

99
Break up command-line arguments into key-value pairs for easy look-up and retrieval. Built upon [utility conventions](http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap12.html#tag_12_02) that have been used for decades, Getopts sane defaults help you write CLI tools that look and feel like the real deal.
1010

11-
First, let's say we are writing a program that is typically invoked like this:
12-
1311
```console
14-
$ bundle --type=module -o main.js *.{js,json}
12+
$ example --type=module -o main.js *.{js,json}
1513
```
1614

17-
Then, we want to scan for CLI flags and values.
18-
1915
```js
2016
import getopts from "getopts"
2117

0 commit comments

Comments
 (0)