udpet

1.0.6 • Public • Published

Send and recieve udp easily from the terminal

Send a packet

npx udpet [ip] [port] [data...]

Example:

npx udpet localhost 80 "Hello, UDP!"
#send binary
npx udpet localhost 80 "\FF\2E\10"

Receiving packets

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"

REPL

Listen for packets while being able to send packets through the same port

npx udpet repl [port]

Example:

npx udpet repl 80

Why use udpet

  • 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 ;)

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i udpet

      Weekly Downloads

      2

      Version

      1.0.6

      License

      MIT

      Unpacked Size

      6.44 kB

      Total Files

      4

      Last publish

      Collaborators

      • blobkat