
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
A CLI tool to quickly identify and terminate processes running on specified ports
kp)A powerful Node.js CLI tool that quickly identifies and terminates processes running on specified ports. Perfect for developers and DevOps engineers who need to manage port conflicts efficiently.
npm install -g kport
# Kill a process on a specific port
kp 3000
# Kill processes on multiple ports
kp 3000,3001,3002
# Kill processes in a port range
kp 3000-3010
# Force kill without confirmation
kp 3000 -f
# Show process information before killing
kp 3000 -i
# List all active ports before/after operation
kp 3000 -l
# Output in JSON format
kp 3000 -j
# Dry run (show what would be killed)
kp 3000 -d
Monitor a port and automatically kill processes that start using it:
# Watch port 3000
kp watch 3000
# Watch with custom check interval (in milliseconds)
kp watch 3000 -i 5000
Scan for all active ports on your system:
# List all active ports
kp scan
# Output scan results in JSON format
kp scan -j
Save and load port combinations:
# Save a preset
kp save dev 3000,3001,3002
# Load and execute a preset
kp load dev
-f, --force: Force kill without confirmation-l, --list: List all running ports before/after operation-i, --info: Show detailed process information before killing-j, --json: Output in JSON format-v, --verbose: Show detailed logs during execution-q, --quiet: Suppress all output except errors-d, --dry-run: Show what would be killed without actually killing-c, --config: Use custom configuration fileThe tool can be configured through:
.kprc or in package.json)KP_DEFAULT_OPTIONS)Contributions are welcome! Please feel free to submit a Pull Request.
MIT
FAQs
A CLI tool to quickly identify and terminate processes running on specified ports
The npm package kp-node receives a total of 1 weekly downloads. As such, kp-node popularity was classified as not popular.
We found that kp-node demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.