@softeria/ms-365-mcp-server
Version:
Microsoft 365 MCP Server
10 lines (7 loc) • 346 B
JavaScript
import { readFileSync } from 'fs';
import path from 'path';
import { fileURLToPath } from 'url';
const __dirname = path.dirname(fileURLToPath(import.meta.url));
const packageJsonPath = path.join(__dirname, '..', 'package.json');
const packageJson = JSON.parse(readFileSync(packageJsonPath, 'utf8'));
export const version = packageJson.version;