This library provides a safe IpPort
type, and supporting helper functions.
# run this from your Terminal
npm install @safelytyped/ip-port
// add this import to your Typescript code
import { IpPort } from "@safelytyped/ip-port"
VS Code users: once you've added a single import anywhere in your project, you'll then be able to auto-import anything else that this library exports.
Looking for more detailed documentation? You'll find it under the docs folder.