
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
crossplatform-killport
Advanced tools
💀 Kill the process running on a given port in any operating system.
Command line program to kill the process running on a given port in any operating system.
Unlike many of the other programs out there that do this, this one works in Windows, Linux, and Mac, it is very easily installed in any OS using npm
because it is written in Node.js, and it is actively maintained by a team of people rather than being just some guy's project from several years ago that may or may not work.
First make sure Node.js is installed on your system.
Then, to install crossplatform-killport
to your system:
npm i -g crossplatform-killport
Kill whatever process is using port 8080:
killport 8080
Windows users may need to run Set-ExecutionPolicy Unrestricted
on their terminal to permit the script to run. See docs from Microsoft for more information.
Use via npx
(this will allow you to use it without installing it to your system by downloading it from npm
temporarily):
npx crossplatform-killport 8080
Use from within a Node.js project's root directory:
node_modules/.bin/killport 8080
Use from within Node.js code:
const { spawnSync, } = require('child_process')
spawnSync('node_modules/.bin/killport', ['8080', '--silent'], { env: process.env, shell: false, stdio: ['ignore', 'pipe', 'pipe'] })
1.0.1
FAQs
💀 Kill the process running on a given port in any operating system.
The npm package crossplatform-killport receives a total of 39 weekly downloads. As such, crossplatform-killport popularity was classified as not popular.
We found that crossplatform-killport demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.