mirror of
https://github.com/AsgardEternal/SquadJS.git
synced 2024-09-28 17:34:25 -05:00
15 lines
492 B
JavaScript
15 lines
492 B
JavaScript
import fs from 'fs';
|
|
import path from 'path';
|
|
import { fileURLToPath } from 'url';
|
|
|
|
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
|
|
const SQUADJS_VERSION = JSON.parse(
|
|
fs.readFileSync(path.resolve(__dirname, '../../package.json'), 'utf8')
|
|
).version;
|
|
|
|
/* As set out by the terms of the license, the following should not be modified. */
|
|
const COPYRIGHT_MESSAGE = `Powered by SquadJS, Copyright © ${new Date().getFullYear()}`;
|
|
|
|
export { SQUADJS_VERSION, COPYRIGHT_MESSAGE };
|