typed-net TypeScript typings for the core net library Usage First, add it to your package.json and install it: npm install --save typed-net Then use it just as you would the net library: import * as net from "typed-net";