convert to typescript

This commit is contained in:
2023-09-14 22:43:25 -05:00
parent 4c19f5f7b9
commit f21bef263d
64 changed files with 1109 additions and 605 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
// recreation of psn_server.cpp example from https://github.com/vyv/psn-cpp
const dgram = require('dgram');
const { Encoder, Tracker, Decoder } = require('..');
const { Encoder, Tracker, Decoder } = require('../dist');
const client = dgram.createSocket('udp4');
const encoder = new Encoder('Test PSN Server', 2, 0);