File size: 380 Bytes
2b64d42 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | import { readFileSync } from 'fs';
import { fileURLToPath } from 'url';
import { dirname, join } from 'path';
export const VERSION = (() => {
try {
const here = dirname(fileURLToPath(import.meta.url));
return JSON.parse(readFileSync(join(here, '..', 'package.json'), 'utf8')).version;
} catch { return '1.0.0'; }
})();
export const BRAND = 'WindsurfAPI bydwgx1337';
|