Skip to content

Commit 22df50c

Browse files
leolukeed
authored andcommitted
Minor improvements for codebase (lukeed#1)
* Made license markdown => more readable on GitHub * Commented on ignored files * Added another npm keyword * GitHub shows the license on the repo by itself * Sweetened usage information * Added license field back * Ignore logfiles
1 parent e776e77 commit 22df50c

3 files changed

Lines changed: 6 additions & 7 deletions

File tree

File renamed without changes.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828
"minimist",
2929
"options",
3030
"optimist",
31-
"parser"
31+
"parser",
32+
"args"
3233
],
3334
"devDependencies": {
3435
"husky": "^0.13.4",

readme.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ It only exists because I find that I usually don't need most of what `minimist`
88

99
See [Comparisons](#comparisons) for more info.
1010

11+
## Usage
1112

12-
## Install
13+
Firstly, install the package:
1314

1415
```
15-
$ npm install --save mri
16+
npm install --save mri
1617
```
1718

18-
19-
## Usage
19+
Then start using it:
2020

2121
```sh
2222
$ demo-cli --foo --bar=baz -mtv -- hello world
@@ -149,7 +149,6 @@ Once an unknown flag is encountered, parsing will terminate, regardless of your
149149
- No [additional configuration](https://github.com/yargs/yargs-parser#configuration) object
150150
- Added [`options.unknown`](##optionsunknown) feature
151151

152-
153152
## Benchmarks
154153

155154
```
@@ -161,7 +160,6 @@ minimist
161160
--> 129,670 ops/sec ±0.72% (93 runs sampled)
162161
```
163162

164-
165163
## License
166164

167165
MIT © [Luke Edwards](https://lukeed.com)

0 commit comments

Comments
 (0)