"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getPackageVersion = getPackageVersion;
const fs = require("fs");
const path = require("path");
async function getPackageVersion() {
    const moduleDir = path.join(__dirname, "..");
    const json = JSON.parse(await fs.promises.readFile(path.join(moduleDir, "package.json"), "utf-8"));
    return json.version;
}
//# sourceMappingURL=package-version.js.map