UNPKG

node-fetch-light

Version:

light-weight fetch wrapper library for node js

17 lines (12 loc) 245 B
import * as net from "net"; export class PacketHelper { private packet: string; /** milliseconds */ private timeout: number; constructor(packet = "") { this.packet = packet; this.timeout = 1000; } async connect() { } }