npx udpet [ip] [port] [data...]
Example:
npx udpet localhost 80 "Hello, UDP!"
#send binary
npx udpet localhost 80 "\FF\2E\10"
npx udpet listen [port] [filter...]?
Example:
npx udpet listen 80
#or listen only for specific messages
npx udpet listen 80 "Hello, UDP!" "\FF\2E\10"
Listen for packets while being able to send packets through the same port
npx udpet repl [port]
Example:
npx udpet repl 80
- Super simple & handy
- Zero dependencies. Tiny package size
- Runs in the terminal
- Useful for debugging network issues, testing around or secretly chatting with a coworker ;)