From 7ef9f694415bafa2fc90e20b51cf755cc3000607 Mon Sep 17 00:00:00 2001 From: Nicolai Cornelis Date: Tue, 5 Mar 2024 22:25:30 +0100 Subject: [PATCH] add module.exports --- src/protocol.ts | 1 + src/rcon.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/src/protocol.ts b/src/protocol.ts index 64a4575..7e40ff5 100644 --- a/src/protocol.ts +++ b/src/protocol.ts @@ -16,3 +16,4 @@ const protocol = Object.freeze({ }) export default protocol +module.exports = protocol diff --git a/src/rcon.ts b/src/rcon.ts index dfc5075..61aa1bd 100644 --- a/src/rcon.ts +++ b/src/rcon.ts @@ -209,3 +209,4 @@ interface RCONOptions { } export default RCON +module.exports = RCON