makiwara 2.2.0 → 2.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +15 -6
  2. package/package.json +9 -9
  3. package/LICENSE +0 -21
package/README.md CHANGED
@@ -1,5 +1,6 @@
1
1
  # makiwara
2
2
 
3
+ [![cli-available](https://badgen.net/static/cli/available/?icon=terminal)](#cli)
3
4
  [![node version](https://img.shields.io/node/v/makiwara.svg)](https://www.npmjs.com/package/makiwara)
4
5
  [![npm version](https://badge.fury.io/js/makiwara.svg)](https://badge.fury.io/js/makiwara)
5
6
  [![downloads count](https://img.shields.io/npm/dt/makiwara.svg)](https://www.npmjs.com/package/makiwara)
@@ -9,14 +10,14 @@
9
10
 
10
11
  🔨 CLI to benchmark URL to gain HTTP requests limits
11
12
 
12
- ## Install
13
+ ## Usage
14
+
15
+ Installation:
13
16
 
14
17
  ```bash
15
- npm install -g makiwara
18
+ npm install makiwara
16
19
  ```
17
20
 
18
- ## Usage
19
-
20
21
  ```javascript
21
22
  const { benchmark } = require('makiwara');
22
23
 
@@ -31,9 +32,17 @@ benchmark('https://example.org', [1, 5, 10], 'sequence')
31
32
 
32
33
  ## CLI
33
34
 
34
- ```text
35
+ Installation:
36
+
37
+ ```bash
38
+ npm install -g makiwara
39
+ ```
40
+
41
+ ```bash
35
42
  makiwara --help
43
+ ```
36
44
 
45
+ ```text
37
46
  Usage: cli [options]
38
47
 
39
48
  Example:
@@ -90,4 +99,4 @@ Result:
90
99
 
91
100
  ## License
92
101
 
93
- [The MIT License](https://piecioshka.mit-license.org) @ 2017-2024
102
+ [The MIT License](https://piecioshka.mit-license.org) @ 2017
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "makiwara",
3
3
  "description": "🔨 CLI to benchmark URL to gain HTTP requests limits",
4
- "version": "2.2.0",
4
+ "version": "2.2.1",
5
5
  "license": "MIT",
6
6
  "author": {
7
7
  "name": "Piotr Kowalski",
@@ -24,25 +24,25 @@
24
24
  "ansi-gray": "^0.1.1",
25
25
  "ansi-red": "^0.1.1",
26
26
  "ansi-yellow": "^0.1.1",
27
- "axios": "^1.7.7",
27
+ "axios": "^1.7.9",
28
28
  "http-status-codes": "^2.3.0",
29
29
  "is-url": "^1.2.4",
30
30
  "jest": "^29.7.0",
31
31
  "node-fetch": "^3.3.2",
32
- "snyk": "^1.1293.1",
33
- "table": "^6.8.2"
32
+ "snyk": "^1.1295.0",
33
+ "table": "^6.9.0"
34
34
  },
35
35
  "devDependencies": {
36
- "@types/node": "^22.7.5",
37
- "commander": "^12.1.0",
36
+ "@types/node": "^22.10.7",
37
+ "commander": "^13.0.0",
38
38
  "eslint": "^8.6.0",
39
- "eslint-config-piecioshka": "^2.3.1",
40
- "nock": "^13.5.5",
39
+ "eslint-config-piecioshka": "^2.3.6",
40
+ "nock": "^13.5.6",
41
41
  "ora": "^5.4.1"
42
42
  },
43
43
  "repository": {
44
44
  "type": "git",
45
- "url": "git+https://github.com/piecioshka/makiwara.git"
45
+ "url": "git+ssh://git@github.com/piecioshka/makiwara.git"
46
46
  },
47
47
  "bugs": {
48
48
  "url": "https://github.com/piecioshka/makiwara/issues"
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- The MIT License (MIT)
2
- Copyright (c) 2017 Piotr Kowalski
3
-
4
- Permission is hereby granted, free of charge, to any person obtaining a copy
5
- of this software and associated documentation files (the "Software"), to deal
6
- in the Software without restriction, including without limitation the rights
7
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
- copies of the Software, and to permit persons to whom the Software is
9
- furnished to do so, subject to the following conditions:
10
-
11
- The above copyright notice and this permission notice shall be included in all
12
- copies or substantial portions of the Software.
13
-
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17
- IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
18
- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
19
- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
20
- OR OTHER DEALINGS IN THE SOFTWARE.
21
-