This library (kill-port) has 1,4M weekly downloads on npm and it usually takes ~10s to kill a process in MacOS.
This library (kill-port) has 1,4M weekly downloads on npm and it usually takes ~10s to kill a process in MacOS.
So... I rewrote it in Rust and now it takes 3ms
That's just 3,000x faster than the original.
Been using it for a couple week
How it ranks: Backlist reads my Twitter/X timeline, scores every tweet for substance with an LLM rubric (not engagement), and publishes the daily top picks with a one-line takeaway. Curated by Surya Dantuluri.