mirror of
https://github.com/asphyxia-core/plugins.git
synced 2026-09-26 16:18:05 +03:00
4 lines
144 B
TypeScript
4 lines
144 B
TypeScript
export const getVersion = (info: EamuseInfo) => {
|
|
const moduleName: string = info.module;
|
|
return `v${moduleName.match(/[0-9]+/)[0]}`;
|
|
}; |