From 030dcfe0c1d34ca2b5abfff916e05015e80cce86 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Wed, 17 Feb 2021 08:43:33 -0800 Subject: [PATCH] Export version (#124) --- src/lib/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/index.ts b/src/lib/index.ts index 1f3661451..75e2addd2 100644 --- a/src/lib/index.ts +++ b/src/lib/index.ts @@ -1,2 +1,4 @@ export { ZwavejsServer } from "./server"; export * from "./state"; + +export const serverVersion: string = require("../../package.json").version;