Functional Weave
Code in TypeScript

Tagged udp

2 capabilities

net.port
Check a TCP/UDP port number and name the IANA service registered on it, with its system/user/dynamic range.
A group of 2: isPort, portService
net.port-list
Parse a port list such as 22,80,8000-8010 into port numbers, in order and without duplicates.
parsePortList in TypeScript