process-killer-cli 1.0.0 → 1.0.2

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.
package/README.md CHANGED
@@ -1,8 +1,8 @@
1
- # Port Killer CLI ⚡
1
+ # Process Killer CLI ⚡
2
2
 
3
3
  > A fast, cross-platform utility to safely kill processes using specific ports on Windows, macOS, and Linux.
4
4
 
5
- ![npm version](https://img.shields.io/badge/version-1.0.0-blue)
5
+ ![npm version](https://img.shields.io/badge/version-1.0.2-blue)
6
6
  ![license](https://img.shields.io/badge/license-MIT-green)
7
7
  ![node version](https://img.shields.io/badge/node->=12.0.0-brightgreen)
8
8
 
@@ -19,13 +19,15 @@
19
19
  ## 📦 Installation
20
20
 
21
21
  ```bash
22
- npm install -g port-killer-cli
22
+ npm install -g process-killer-cli
23
23
  ```
24
24
 
25
+ The `-g` flag installs globally, making the command available everywhere.
26
+
25
27
  ## 🚀 Quick Start
26
28
 
27
29
  ```bash
28
- port-killer
30
+ process-killer
29
31
  ```
30
32
 
31
33
  Then follow the prompts:
@@ -39,8 +41,8 @@ Then follow the prompts:
39
41
 
40
42
  ### Kill Node.js Server
41
43
 
42
- ```bash
43
- $ port-killer
44
+ ````bash
45
+ $ process-killer
44
46
 
45
47
  Select your Operating System:
46
48
  1) Windows
@@ -65,21 +67,20 @@ Do you want to kill this process? (y/n): y
65
67
 
66
68
  You can now start your backend server on this port.
67
69
 
68
- ```
69
70
 
70
71
  ### Kill Java Application (Port 8080)
71
72
 
72
73
  ```bash
73
- $ port-killer
74
+ $ process-killer
74
75
  ...
75
76
  Enter the port number you want to stop: 8080
76
77
  ✓ Port 8080 has been killed!
77
- ```
78
+ ````
78
79
 
79
80
  ### Kill Python Flask (Port 5000)
80
81
 
81
82
  ```bash
82
- $ port-killer
83
+ $ process-killer
83
84
  ...
84
85
  Enter the port number you want to stop: 5000
85
86
  ✓ Port 5000 has been killed!
@@ -123,7 +124,7 @@ Some ports enter TIME_WAIT state. Wait 30-60 seconds and try again.
123
124
  The tool may need elevated privileges:
124
125
 
125
126
  ```bash
126
- sudo port-killer
127
+ sudo process-killer
127
128
  ```
128
129
 
129
130
  ### Process Not Found
@@ -142,18 +143,18 @@ netstat -ano | findstr :3000
142
143
  lsof -i :3000
143
144
  ```
144
145
 
145
- ### Port Command Not Found
146
+ ### Command Not Found
146
147
 
147
- Make sure you installed it globally:
148
+ Make sure you installed it globally with the `-g` flag:
148
149
 
149
150
  ```bash
150
- npm install -g port-killer-cli
151
+ npm install -g process-killer-cli
151
152
  ```
152
153
 
153
154
  ## 🗑️ Uninstall
154
155
 
155
156
  ```bash
156
- npm uninstall -g port-killer-cli
157
+ npm uninstall -g process-killer-cli
157
158
  ```
158
159
 
159
160
  ## 📚 Advanced Usage
@@ -179,12 +180,12 @@ sudo fuser -k 3000/tcp
179
180
  ## 🔄 Update to Latest Version
180
181
 
181
182
  ```bash
182
- npm install -g port-killer-cli@latest
183
+ npm install -g process-killer-cli@latest
183
184
  ```
184
185
 
185
- ## 📝 What's New in v1.0.0
186
+ ## 📝 What's New in v1.0.2
186
187
 
187
- - ✨ Initial release
188
+ - ✨ Fixed installation documentation
188
189
  - 🎨 Beautiful colorized UI with Unicode borders
189
190
  - 🌍 Cross-platform support (Windows, macOS, Linux)
190
191
  - 📋 Interactive OS selection menu
@@ -200,11 +201,11 @@ Contributions are welcome! Feel free to:
200
201
  - Suggest features
201
202
  - Submit pull requests
202
203
 
203
- [Visit GitHub Repository](https://github.com/devmilon923/port-killer-cli)
204
+ [Visit GitHub Repository](https://github.com/devmilon923/process-killer-cli)
204
205
 
205
206
  ## 📄 License
206
207
 
207
- MIT © Milon
208
+ MIT © Milon Mia
208
209
 
209
210
  This project is open source and available under the MIT License.
210
211
 
@@ -213,7 +214,7 @@ This project is open source and available under the MIT License.
213
214
  **Milon Mia**
214
215
 
215
216
  - GitHub: [@devmilon923](https://github.com/devmilon923)
216
- - npm: [port-killer-cli](https://www.npmjs.com/package/port-killer-cli)
217
+ - npm: [process-killer-cli](https://www.npmjs.com/package/process-killer-cli)
217
218
  - Email: dev.milon923@gmail.com
218
219
 
219
220
  ## 🙏 Support
@@ -242,6 +243,9 @@ A: The tool shows process details before killing, so you can verify.
242
243
  **Q: Can I use this in scripts?**
243
244
  A: This tool is interactive. For automation, use OS-specific commands directly.
244
245
 
246
+ **Q: Why do I need the -g flag?**
247
+ A: The `-g` flag installs the tool globally so you can use the `process-killer` command from any folder on your computer.
248
+
245
249
  ## 🎓 Learn More
246
250
 
247
251
  - [Node.js Documentation](https://nodejs.org/en/docs/)
@@ -251,7 +255,7 @@ A: This tool is interactive. For automation, use OS-specific commands directly.
251
255
  ## 📞 Feedback
252
256
 
253
257
  Have questions or suggestions? Open an issue on GitHub:
254
- [GitHub Issues](https://github.com/devmilon923/port-killer-cli/issues)
258
+ [GitHub Issues](https://github.com/devmilon923/process-killer-cli/issues)
255
259
 
256
260
  ---
257
261
 
@@ -67,7 +67,7 @@ function header() {
67
67
  c("╔═══════════════════════════════════════════════════════╗", colors.cyan),
68
68
  );
69
69
  console.log(
70
- c(" PORT KILLER UTILITY v1.0.0", colors.bold + colors.cyan),
70
+ c(" PORT KILLER UTILITY v1.0.1", colors.bold + colors.cyan),
71
71
  );
72
72
  // console.log(c(" Tool By Milon", colors.yellow));
73
73
  console.log(
@@ -155,7 +155,7 @@ function showDevInfo() {
155
155
  );
156
156
  console.log(
157
157
  c("║", colors.cyan) +
158
- c(" Version 1.0.0", colors.yellow).padEnd(54),
158
+ c(" Version 1.0.1", colors.yellow).padEnd(54),
159
159
  );
160
160
  console.log(
161
161
  c("║", colors.cyan) + c(" License MIT", colors.yellow).padEnd(54),
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "process-killer-cli",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "A utility to safely find and kill processes using specific ports on Linux/macOS. Perfect for backend developers dealing with port conflicts.",
5
5
  "main": "index.js",
6
6
  "type": "module",
7
7
  "bin": {
8
- "port-killer": "./bin/port-killer.js"
8
+ "index.js": "./bin/index.js"
9
9
  },
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -21,23 +21,24 @@
21
21
  "spring-boot",
22
22
  "port-conflict"
23
23
  ],
24
- "author": "Milon",
24
+ "author": "Milon Mia",
25
25
  "license": "MIT",
26
26
  "repository": {
27
27
  "type": "git",
28
- "url": "https://github.com/yourusername/port-killer-cli.git"
28
+ "url": "https://github.com/yourusername/process-killer-cli.git"
29
29
  },
30
30
  "bugs": {
31
- "url": "https://github.com/yourusername/port-killer-cli/issues"
31
+ "url": "https://github.com/yourusername/process-killer-cli/issues"
32
32
  },
33
- "homepage": "https://github.com/yourusername/port-killer-cli#readme",
33
+ "homepage": "https://github.com/yourusername/process-killer-cli#readme",
34
34
  "engines": {
35
35
  "node": ">=12.0.0"
36
36
  },
37
37
  "preferGlobal": true,
38
38
  "files": [
39
- "bin",
40
- "lib",
41
- "README.md"
39
+ "bin/index.js",
40
+ "README.md",
41
+ "package.json",
42
+ "LICENSE"
42
43
  ]
43
44
  }