a colleague of mine recently introduced me to the magical world of npx. you can do many tiny things with npx! like kill ports, with:
npx
npm kill-port 3000 to kill localhost:3000.
npm kill-port 3000
localhost:3000