forked from FoundKeyGang/FoundKey
9 lines
190 B
TypeScript
9 lines
190 B
TypeScript
const getVersion = new Promise<string>(async resolve => {
|
|
const package = require('../package.json');
|
|
|
|
const version = package.version;
|
|
|
|
resolve(version);
|
|
});
|
|
|
|
export default getVersion;
|