mirror of
https://github.com/asphyxia-core/plugins.git
synced 2026-03-22 09:54:43 -05: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]}`;
|
|
}; |