process-killer-cli 1.0.5 → 1.0.6
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 +30 -3
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
> A fast, cross-platform utility to safely kill processes using specific ports on Windows, macOS, and Linux.
|
|
4
4
|
|
|
5
|
-

|
|
6
6
|

|
|
7
7
|

|
|
8
8
|
|
|
@@ -89,19 +89,24 @@ Enter the port number you want to stop: 5000
|
|
|
89
89
|
|
|
90
90
|
## 🖥️ Supported Operating Systems
|
|
91
91
|
|
|
92
|
+
|
|
92
93
|
| OS | Status | Notes |
|
|
93
94
|
| ----------- | ------------------ | -------------------------------------- |
|
|
94
95
|
| **Windows** | ✅ Fully Supported | Uses `netstat`, `tasklist`, `taskkill` |
|
|
95
96
|
| **macOS** | ✅ Fully Supported | Uses `lsof`, `ps`, `fuser` |
|
|
96
97
|
| **Linux** | ✅ Fully Supported | Uses `lsof`, `ps`, `fuser` |
|
|
97
98
|
|
|
99
|
+
|
|
98
100
|
## 📋 Requirements
|
|
99
101
|
|
|
102
|
+
|
|
100
103
|
- **Node.js** >= 12.0.0
|
|
101
104
|
- **npm** or **yarn**
|
|
102
105
|
|
|
106
|
+
|
|
103
107
|
## 🔧 How It Works
|
|
104
108
|
|
|
109
|
+
|
|
105
110
|
### Windows
|
|
106
111
|
|
|
107
112
|
- Uses `netstat -ano` to find process by port
|
|
@@ -114,8 +119,10 @@ Enter the port number you want to stop: 5000
|
|
|
114
119
|
- Uses `ps` to get process name
|
|
115
120
|
- Uses `fuser -k PORT/tcp` to terminate process
|
|
116
121
|
|
|
122
|
+
|
|
117
123
|
## ⚠️ Troubleshooting
|
|
118
124
|
|
|
125
|
+
|
|
119
126
|
### Port Still Shows as In Use
|
|
120
127
|
|
|
121
128
|
Some ports enter TIME_WAIT state. Wait 30-60 seconds and try again.
|
|
@@ -152,14 +159,18 @@ Make sure you installed it globally with the `-g` flag:
|
|
|
152
159
|
npm install -g process-killer-cli
|
|
153
160
|
```
|
|
154
161
|
|
|
162
|
+
|
|
155
163
|
## 🗑️ Uninstall
|
|
156
164
|
|
|
165
|
+
|
|
157
166
|
```bash
|
|
158
167
|
npm uninstall -g process-killer-cli
|
|
159
168
|
```
|
|
160
169
|
|
|
170
|
+
|
|
161
171
|
## 📚 Advanced Usage
|
|
162
172
|
|
|
173
|
+
|
|
163
174
|
### Manual Port Killing (Without Tool)
|
|
164
175
|
|
|
165
176
|
**Windows:**
|
|
@@ -178,13 +189,17 @@ sudo kill -9 12345
|
|
|
178
189
|
sudo fuser -k 3000/tcp
|
|
179
190
|
```
|
|
180
191
|
|
|
192
|
+
|
|
181
193
|
## 🔄 Update to Latest Version
|
|
182
194
|
|
|
195
|
+
|
|
183
196
|
```bash
|
|
184
197
|
npm install -g process-killer-cli@latest
|
|
185
198
|
```
|
|
186
199
|
|
|
187
|
-
|
|
200
|
+
|
|
201
|
+
## 📝 What's New in v1.0.6
|
|
202
|
+
|
|
188
203
|
|
|
189
204
|
- ✨ Fixed installation documentation
|
|
190
205
|
- 🎨 Beautiful colorized UI with Unicode borders
|
|
@@ -194,8 +209,10 @@ npm install -g process-killer-cli@latest
|
|
|
194
209
|
- 📊 Developer information display
|
|
195
210
|
- ⚡ Zero external dependencies
|
|
196
211
|
|
|
212
|
+
|
|
197
213
|
## 🤝 Contributing
|
|
198
214
|
|
|
215
|
+
|
|
199
216
|
Contributions are welcome! Feel free to:
|
|
200
217
|
|
|
201
218
|
- Report bugs
|
|
@@ -210,16 +227,20 @@ MIT © Milon Mia
|
|
|
210
227
|
|
|
211
228
|
This project is open source and available under the MIT License.
|
|
212
229
|
|
|
230
|
+
|
|
213
231
|
## 👨💻 Author
|
|
214
232
|
|
|
233
|
+
|
|
215
234
|
**Milon Mia**
|
|
216
235
|
|
|
217
236
|
- GitHub: [@devmilon923](https://github.com/devmilon923)
|
|
218
237
|
- npm: [process-killer-cli](https://www.npmjs.com/package/process-killer-cli)
|
|
219
238
|
- Email: dev.milon923@gmail.com
|
|
220
239
|
|
|
240
|
+
|
|
221
241
|
## 🙏 Support
|
|
222
242
|
|
|
243
|
+
|
|
223
244
|
If you found this tool helpful, please:
|
|
224
245
|
|
|
225
246
|
- ⭐ Star on GitHub
|
|
@@ -227,8 +248,10 @@ If you found this tool helpful, please:
|
|
|
227
248
|
- 🐛 Report issues
|
|
228
249
|
- 💡 Suggest improvements
|
|
229
250
|
|
|
251
|
+
|
|
230
252
|
## FAQ
|
|
231
253
|
|
|
254
|
+
|
|
232
255
|
**Q: Is it safe to use?**
|
|
233
256
|
A: Yes! The tool always asks for confirmation before killing any process.
|
|
234
257
|
|
|
@@ -247,19 +270,23 @@ A: This tool is interactive. For automation, use OS-specific commands directly.
|
|
|
247
270
|
**Q: Why do I need the -g flag?**
|
|
248
271
|
A: The `-g` flag installs the tool globally so you can use the `process-killer` command from any folder on your computer.
|
|
249
272
|
|
|
273
|
+
|
|
250
274
|
## 🎓 Learn More
|
|
251
275
|
|
|
276
|
+
|
|
252
277
|
- [Node.js Documentation](https://nodejs.org/en/docs/)
|
|
253
278
|
- [npm Documentation](https://docs.npmjs.com/)
|
|
254
279
|
- [Port Management Guide](https://www.howtouselinux.com/linux/lsof-command)
|
|
255
280
|
|
|
281
|
+
|
|
256
282
|
## 📞 Feedback
|
|
257
283
|
|
|
284
|
+
|
|
258
285
|
Have questions or suggestions? Open an issue on GitHub:
|
|
259
286
|
[GitHub Issues](https://github.com/devmilon923/process-killer-cli/issues)
|
|
260
287
|
|
|
261
288
|
---
|
|
262
289
|
|
|
263
|
-
**Made with ❤️ for
|
|
290
|
+
**Made with ❤️ for Developers**
|
|
264
291
|
|
|
265
292
|
Happy coding! 🚀
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "process-killer-cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
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",
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"repository": {
|
|
27
27
|
"type": "git",
|
|
28
|
-
"url": "https://github.com/
|
|
28
|
+
"url": "https://github.com/devmilon923/process-killer-cli.git"
|
|
29
29
|
},
|
|
30
30
|
"bugs": {
|
|
31
|
-
"url": "https://github.com/
|
|
31
|
+
"url": "https://github.com/devmilon923/process-killer-cli/issues"
|
|
32
32
|
},
|
|
33
|
-
"homepage": "https://github.com/
|
|
33
|
+
"homepage": "https://github.com/devmilon923/process-killer-cli#readme",
|
|
34
34
|
"engines": {
|
|
35
35
|
"node": ">=12.0.0"
|
|
36
36
|
},
|