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