
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Find processes occupying a given port
lsof -i :<port>
for unix, darwin and win32 alikeGrab it from npm
npm install --save lsofi
// given 1337 is occupied and 1338 is not
const lsofi = require('lsofi')
const occupied = await lsofi(1337)
const free = await(1338)
console.log(occupied, free)
// => console.log(9834, null)
lsofi is built by marionebl and contributors. It is released unter the MIT license.
FAQs
Find processes occupying a given port
The npm package lsofi receives a total of 378,625 weekly downloads. As such, lsofi popularity was classified as popular.
We found that lsofi demonstrated a not healthy version release cadence and project activity because the last version was released 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
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.